Exception: Duby::Typer::InferenceError
- Inherits:
-
Exception
- Object
- Exception
- Duby::Typer::InferenceError
- Defined in:
- lib/duby/typer.rb
Instance Attribute Summary collapse
-
#node ⇒ Object
Returns the value of attribute node.
Instance Method Summary collapse
-
#initialize(msg, node = nil) ⇒ InferenceError
constructor
A new instance of InferenceError.
Constructor Details
#initialize(msg, node = nil) ⇒ InferenceError
Returns a new instance of InferenceError.
16 17 18 19 |
# File 'lib/duby/typer.rb', line 16 def initialize(msg, node = nil) super(msg) @node = node end |
Instance Attribute Details
#node ⇒ Object
Returns the value of attribute node.
15 16 17 |
# File 'lib/duby/typer.rb', line 15 def node @node end |