Module: ActionView::Helpers::Tags::CollectionHelpers

Included in:
CollectionCheckBoxes, CollectionRadioButtons
Defined in:
actionview/lib/action_view/helpers/tags/collection_helpers.rb

Overview

:nodoc:

Defined Under Namespace

Classes: Builder

Instance Method Summary collapse

Instance Method Details

#initialize(object_name, method_name, template_object, collection, value_method, text_method, options, html_options) ⇒ Object



30
31
32
33
34
35
36
37
# File 'actionview/lib/action_view/helpers/tags/collection_helpers.rb', line 30

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