Exception: Steep::Typing::UnknownNodeError
- Defined in:
- lib/steep/typing.rb
Instance Attribute Summary collapse
-
#node ⇒ Object
readonly
Returns the value of attribute node.
-
#op ⇒ Object
readonly
Returns the value of attribute op.
Instance Method Summary collapse
-
#initialize(op, node:) ⇒ UnknownNodeError
constructor
A new instance of UnknownNodeError.
Constructor Details
#initialize(op, node:) ⇒ UnknownNodeError
Returns a new instance of UnknownNodeError.
7 8 9 10 11 |
# File 'lib/steep/typing.rb', line 7 def initialize(op, node:) @op = op @node = node super "Unknown node for #{op}: #{node.inspect}" end |