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