Class: ActionView::Helpers::Tags::CountrySelect
- Inherits:
-
Base
- Object
- Base
- ActionView::Helpers::Tags::CountrySelect
- Includes:
- CountrySelect::TagHelper
- Defined in:
- lib/country_select/country_select_helper.rb
Instance Method Summary collapse
-
#initialize(object_name, method_name, template_object, options, html_options) ⇒ CountrySelect
constructor
A new instance of CountrySelect.
- #render ⇒ Object
Methods included from CountrySelect::TagHelper
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, , ) @html_options = super(object_name, method_name, template_object, ) end |
Instance Method Details
#render ⇒ Object
32 33 34 |
# File 'lib/country_select/country_select_helper.rb', line 32 def render select_content_tag(, @options, @html_options) end |