Exception: CompTree::RedefinitionError
- Defined in:
- lib/comp_tree/error.rb
Overview
An attempt was made to redefine a node.
If you wish to only replace the function, set
driver.nodes[name].function = lambda { ... }
Instance Attribute Summary
Attributes inherited from NodeError
Instance Method Summary collapse
-
#custom_message ⇒ Object
:nodoc:.
Methods inherited from NodeError
Constructor Details
This class inherits a constructor from CompTree::NodeError
Instance Method Details
#custom_message ⇒ Object
:nodoc:
27 28 29 |
# File 'lib/comp_tree/error.rb', line 27 def #:nodoc: "attempt to redefine node `#{node_name.inspect}'" end |