Sha256: 31f32605b29f89c0c3b8d9a00b8c11c6fcf9b73c7d973ae4810d4399adf0c7d3

Contents?: true

Size: 169 Bytes

Versions: 26

Compression:

Stored size: 169 Bytes

Contents

require 'actv/validators/asset_validator'
module ACTV
  class QuizQuestionAnswerValidator < AssetValidator
    def valid?
      category_is?('answer')
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
actv-2.10.9 lib/actv/validators/quiz_question_answer_validator.rb
actv-2.10.8 lib/actv/validators/quiz_question_answer_validator.rb
actv-2.10.7 lib/actv/validators/quiz_question_answer_validator.rb
actv-2.10.6 lib/actv/validators/quiz_question_answer_validator.rb
actv-2.10.5 lib/actv/validators/quiz_question_answer_validator.rb
actv-2.10.4 lib/actv/validators/quiz_question_answer_validator.rb
actv-2.10.3 lib/actv/validators/quiz_question_answer_validator.rb
actv-2.10.2 lib/actv/validators/quiz_question_answer_validator.rb
actv-2.10.1 lib/actv/validators/quiz_question_answer_validator.rb
actv-2.10.0 lib/actv/validators/quiz_question_answer_validator.rb
actv-2.9.2 lib/actv/validators/quiz_question_answer_validator.rb
actv-2.9.1 lib/actv/validators/quiz_question_answer_validator.rb
actv-2.9.0 lib/actv/validators/quiz_question_answer_validator.rb
actv-2.8.2 lib/actv/validators/quiz_question_answer_validator.rb
actv-2.8.1 lib/actv/validators/quiz_question_answer_validator.rb
actv-2.7.0 lib/actv/validators/quiz_question_answer_validator.rb
actv-2.6.0 lib/actv/validators/quiz_question_answer_validator.rb
actv-2.5.2 lib/actv/validators/quiz_question_answer_validator.rb
actv-2.5.1 lib/actv/validators/quiz_question_answer_validator.rb
actv-2.5.0 lib/actv/validators/quiz_question_answer_validator.rb