Sha256: 6181a4386d3d9071b46ebae1035857c8bba00ee0ce43e328f7e4536b7d16e01b
Contents?: true
Size: 250 Bytes
Versions: 6
Compression:
Stored size: 250 Bytes
Contents
class Mumukit::Assistant::Rule::ErrorContains < Mumukit::Assistant::Rule::SubmissionErrored def initialize(message, text) super(message) @text = text end def matches?(submission) super && submission.result.include?(@text) end end
Version data entries
6 entries across 6 versions & 1 rubygems