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.
321 322 323 324 |
# File 'lib/daedalus/dependency_grapher.rb', line 321 def initialize(macro, parser) super parser @macro = macro.strip end |
Instance Method Details
#execute(defines, node) ⇒ Object
326 327 328 |
# File 'lib/daedalus/dependency_grapher.rb', line 326 def execute(defines, node) defines.delete @macro end |