Class: ActionView::Helpers::InstanceTag
- Inherits:
-
Object
- Object
- ActionView::Helpers::InstanceTag
- Defined in:
- lib/list_select.rb
Instance Method Summary collapse
Instance Method Details
#to_list_select_tag(list, options, html_options) ⇒ Object
27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/list_select.rb', line 27 def to_list_select_tag(list, , ) = .stringify_keys add_default_name_and_id() value = value(object) content_tag("select", ( (list, value || [:default], [:priority_items] || []), , value ), ) end |