Module: ChoicesHelper
- Defined in:
- app/helpers/choices_helper.rb
Instance Method Summary collapse
Instance Method Details
#checked?(choice, content) ⇒ Boolean
2 3 4 |
# File 'app/helpers/choices_helper.rb', line 2 def checked?(choice, content) content.split(':').include? choice.index.to_s end |