class Mumuki::Domain::Submission::Solution
Attributes
content[RW]
Public Instance Methods
dry_run!(assignment, evaluation)
click to toggle source
# File lib/mumuki/domain/submission/solution.rb, line 4 def dry_run!(assignment, evaluation) evaluation.evaluate! assignment, self end
try_evaluate!(assignment)
click to toggle source
# File lib/mumuki/domain/submission/solution.rb, line 8 def try_evaluate!(assignment) assignment .run_tests!({client_result: client_result}.compact.merge(content: content)) .except(:response_type) end