Class: Daedalus::DependencyGrapher::Undefine
- Defined in:
- lib/daedalus/dependency_grapher.rb
Instance Method Summary collapse
- #execute(defines, node) ⇒ Object
-
#initialize(macro, parser) ⇒ Undefine
constructor
A new instance of Undefine.
Methods inherited from Node
Constructor Details
#initialize(macro, parser) ⇒ Undefine
Returns a new instance of Undefine.
312 313 314 315 |
# File 'lib/daedalus/dependency_grapher.rb', line 312 def initialize(macro, parser) super parser @macro = macro.strip end |
Instance Method Details
#execute(defines, node) ⇒ Object
317 318 319 |
# File 'lib/daedalus/dependency_grapher.rb', line 317 def execute(defines, node) defines.delete @macro end |