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


25
26
27
28
29
30
31
32
# File 'actionview/lib/action_view/helpers/tags/collection_helpers.rb', line 25

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