Module: Mumukit::Inspection::Html

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

Constant Summary collapse

REGEXP =
/^(?<negation>Not:)?(?<type>DeclaresAttribute):(?<target>(href|src)=.*)$/

Class Method Summary collapse

Methods included from Extension

new_inspection

Class Method Details

.parse(inspection_s) ⇒ Object



33
34
35
# File 'lib/mumukit/inspection.rb', line 33

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