Sha256: 0798a1692b1bb8dc54b9fcdddb65b2b2c14650f9ae293d3a695d9082e4942be8
Contents?: true
Size: 426 Bytes
Versions: 101
Compression:
Stored size: 426 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('console_submission.try_again') if results[:status].aborted? results[:status] = results[:status].to_submission_status results end end
Version data entries
101 entries across 101 versions & 2 rubygems