method
option_value_selected?
option_value_selected?(value, selected)
private
Hide source
# File actionview/lib/action_view/helpers/form_options_helper.rb, line 805 def option_value_selected?(value, selected) Array(selected).include? value end