method
option_html_attributes

option_html_attributes(element)
private
Hide source
# File actionview/lib/action_view/helpers/form_options_helper.rb, line 715 def option_html_attributes(element) if Array === element element.select { |e| Hash === e }.reduce({}, :merge!) else {} end end