Sha256: baabf7503aa8f0e8ce7ab459fe7442fd866e683845ca2e9329b2026ad63a5761
Contents?: true
Size: 290 Bytes
Versions: 39
Compression:
Stored size: 290 Bytes
Contents
class Question < Submission def run!(assignment, evaluation) return [assignment, nil] unless assignment.new_record? super end def save_submission!(assignment) assignment.persist_submission! self end def try_evaluate!(*) {status: :pending, result: nil} end end
Version data entries
39 entries across 39 versions & 1 rubygems