Class: ActionView::Helpers::Tags::CountrySelect

Inherits:
Base
  • Object
show all
Includes:
CountrySelect::TagHelper
Defined in:
lib/country_select/country_select_helper.rb

Instance Method Summary collapse

Methods included from CountrySelect::TagHelper

#country_option_tags

Constructor Details

#initialize(object_name, method_name, template_object, options, html_options) ⇒ CountrySelect

Returns a new instance of CountrySelect.


26
27
28
29
30
# File 'lib/country_select/country_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

Instance Method Details

#renderObject


32
33
34
# File 'lib/country_select/country_select_helper.rb', line 32

def render
  (country_option_tags, @options, @html_options)
end