Flowdock
method

new

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Select
new(object_name, method_name, template_object, choices, options, html_options) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/helpers/tags/select.rb, line 7
        def initialize(object_name, method_name, template_object, choices, options, html_options)
          @choices = block_given? ? template_object.capture { yield || "" } : choices
          @choices = @choices.to_a if @choices.is_a?(Range)

          @html_options = html_options

          super(object_name, method_name, template_object, options)
        end
Register or log in to add new notes.