Class: ActionView::Helpers::InstanceTag
- Inherits:
-
Object
- Object
- ActionView::Helpers::InstanceTag
- Defined in:
- lib/us_states_select.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#to_us_state_select_tag(options, html_options) ⇒ Object
49 50 51 52 53 |
# File 'lib/us_states_select.rb', line 49 def to_us_state_select_tag(, ) = .stringify_keys add_default_name_and_id() content_tag("select", ((value(object), ), , value(object)), ) end |