Module: Mumukit::Inspection::Css

Extended by:
Extension
Defined in:
lib/mumukit/inspection.rb

Constant Summary collapse

REGEXP =
/^(?<negation>Not:)?(?<type>DeclaresStyle|DeclaresTag):(?<target>.*)$/

Class Method Summary collapse

Methods included from Extension

new_inspection

Class Method Details

.parse(inspection_s) ⇒ Object



23
24
25
# File 'lib/mumukit/inspection.rb', line 23

def self.parse(inspection_s)
  new_inspection REGEXP.match(inspection_s)
end