edge badge
Methods
L
N
Attributes
[R] object
[R] text
[R] value
Class Public methods
new(template_object, object_name, method_name, object, sanitized_attribute_name, text, value, input_html_options)
# File actionpack/lib/action_view/helpers/tags/collection_helpers.rb, line 8
def initialize(template_object, object_name, method_name, object,
               sanitized_attribute_name, text, value, input_html_options)
  @template_object = template_object
  @object_name = object_name
  @method_name = method_name
  @object = object
  @sanitized_attribute_name = sanitized_attribute_name
  @text = text
  @value = value
  @input_html_options = input_html_options
end
Instance Public methods
label(label_html_options={}, &block)
# File actionpack/lib/action_view/helpers/tags/collection_helpers.rb, line 20
def label(label_html_options={}, &block)
  @template_object.label(@object_name, @sanitized_attribute_name, @text, label_html_options, &block)
end