Module: Mumukit::Inspection::Source
- Extended by:
- Extension
- Defined in:
- lib/mumukit/inspection.rb
Constant Summary collapse
- REGEXP =
/^(?<negation>Not:)?(?<type>SourceRepeats|SourceContains|SourceEquals|SourceEqualsIgnoreSpaces):(?<target>.*)$/
Class Method Summary collapse
Methods included from Extension
Class Method Details
.parse(inspection_s) ⇒ Object
43 44 45 |
# File 'lib/mumukit/inspection.rb', line 43 def self.parse(inspection_s) new_inspection REGEXP.match(inspection_s) end |