Exception: CompTree::RedefinitionError

Inherits:
NodeError show all
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

#node_name

Instance Method Summary collapse

Methods inherited from NodeError

#initialize

Constructor Details

This class inherits a constructor from CompTree::NodeError

Instance Method Details

#custom_messageObject

:nodoc:



27
28
29
# File 'lib/comp_tree/error.rb', line 27

def custom_message  #:nodoc:
  "attempt to redefine node `#{node_name.inspect}'"
end