Sha256: 43b202b2b4643ed81694d0f4cf3b54605f1b28f14f9a879eab74032a72faa477
Contents?: true
Size: 318 Bytes
Versions: 64
Compression:
Stored size: 318 Bytes
Contents
module Submittable def submit!(user, submission) find_assignment_and_submit!(user, submission).last end def find_assignment_and_submit!(user, submission) assignment = assignment_for user results = user.run_submission! submission, assignment, evaluation_class.new [assignment, results] end end
Version data entries
64 entries across 64 versions & 2 rubygems