Flowdock
method

option_html_attributes

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: ActionView::Helpers::FormOptionsHelper
option_html_attributes(element) private

No documentation

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

Hide source
# File actionpack/lib/action_view/helpers/form_options_helper.rb, line 712
        def option_html_attributes(element)
          if Array === element
            element.select { |e| Hash === e }.reduce({}, :merge!)
          else
            {}
          end
        end
Register or log in to add new notes.