class ActionView::Helpers::Tags::RailsLanguageSelect

Public Class Methods

new(object_name, method_name, template_object, options, html_options) click to toggle source
Calls superclass method
# File lib/rails_language_select/language_select_helper.rb, line 26
def initialize(object_name, method_name, template_object, options, html_options)
  @html_options = html_options

  super(object_name, method_name, template_object, options)
end

Public Instance Methods

render() click to toggle source
# File lib/rails_language_select/language_select_helper.rb, line 32
def render
  select_content_tag(language_option_tags, @options, @html_options)
end