Sha256: 71959d7ddf05b469d7a9125886235aba3f8ae36f30672ca7388750c59247e675
Contents?: true
Size: 314 Bytes
Versions: 28
Compression:
Stored size: 314 Bytes
Contents
module Submittable def submit!(user, submission) find_assignment_and_submit!(user, submission).last end def find_assignment_and_submit!(user, submission) assignment = find_or_init_assignment_for user results = submission.run! assignment, evaluation_class.new [assignment, results] end end
Version data entries
28 entries across 28 versions & 1 rubygems