Exception: NodeError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- NodeError
- Defined in:
- lib/zombie_killer/rewriter.rb
Overview
An error related to a node
Instance Attribute Summary collapse
-
#node ⇒ Object
readonly
Returns the value of attribute node.
Instance Method Summary collapse
-
#initialize(message, node) ⇒ NodeError
constructor
A new instance of NodeError.
Constructor Details
#initialize(message, node) ⇒ NodeError
Returns a new instance of NodeError.
18 19 20 21 |
# File 'lib/zombie_killer/rewriter.rb', line 18 def initialize(, node) @node = node super() end |
Instance Attribute Details
#node ⇒ Object (readonly)
Returns the value of attribute node.
16 17 18 |
# File 'lib/zombie_killer/rewriter.rb', line 16 def node @node end |