Class: ActionView::Helpers::InstanceTag
- Inherits:
-
Object
- Object
- ActionView::Helpers::InstanceTag
- Defined in:
- lib/localized_country_select.rb
Instance Method Summary collapse
Instance Method Details
#to_localized_country_select_tag(priority_countries, options, html_options) ⇒ Object
88 89 90 91 92 93 |
# File 'lib/localized_country_select.rb', line 88 def to_localized_country_select_tag(priority_countries, , ) = .stringify_keys add_default_name_and_id() value = value(object) content_tag("select", ((value, priority_countries,), , value), ) end |