Class: ActionView::Helpers::InstanceTag
- Inherits:
-
Object
- Object
- ActionView::Helpers::InstanceTag
- Defined in:
- lib/countryselect0r/base.rb
Instance Method Summary collapse
Instance Method Details
#to_country_select_tag(priority_countries, options, html_options) ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/countryselect0r/base.rb', line 45 def to_country_select_tag(priority_countries, , ) = .stringify_keys add_default_name_and_id() value = value(object) content_tag("select", ( (value, priority_countries), , value ), ) end |