Class: ModuleFilter

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

Instance Method Summary collapse

Methods inherited from DefinitionFilter

#process

Constructor Details

#initialize(module_name, include_body) ⇒ ModuleFilter

Returns a new instance of ModuleFilter.



72
73
74
# File 'lib/notroff/embedded.rb', line 72

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