method
new
v4.2.1 -
Show latest stable
- Class:
ActionView::Helpers::Tags::CollectionSelect
new(object_name, method_name, template_object, collection, value_method, text_method, options, html_options)public
No documentation available.
# File actionview/lib/action_view/helpers/tags/collection_select.rb, line 5
def initialize(object_name, method_name, template_object, collection, value_method, text_method, options, html_options)
@collection = collection
@value_method = value_method
@text_method = text_method
@html_options = html_options
super(object_name, method_name, template_object, options)
end