Sha256: 541fdda2b8a09c333a9deec268d500d798f1ba75500d50f9e053992f36edb9a3
Contents?: true
Size: 409 Bytes
Versions: 8
Compression:
Stored size: 409 Bytes
Contents
class Mumuki::Domain::Submission::ConsoleSubmission < Mumuki::Domain::Submission::Base required :try_evaluate_query! def try_evaluate!(assignment) format_query_result! try_evaluate_query!(assignment) end def format_query_result!(results) results[:result] = I18n.t(:try_again) if results[:status] == :aborted results[:status] = results[:status].to_submission_status results end end
Version data entries
8 entries across 8 versions & 1 rubygems