Class: ClassFilter

Inherits:
DefinitionFilter show all
Defined in:
lib/notroff/embedded.rb

Instance Method Summary collapse

Methods inherited from DefinitionFilter

#process

Constructor Details

#initialize(class_name, include_body) ⇒ ClassFilter

Returns a new instance of ClassFilter.



66
67
68
# File 'lib/notroff/embedded.rb', line 66

def initialize(class_name, include_body)
  super /^ *class +#{class_name}(\(|$| )/, include_body
end