Class: AbstractSyntaxTreeKit::Node::UNDEF
- Inherits:
-
AbstractSyntaxTreeKit::Node
- Object
- AbstractSyntaxTreeKit::Node
- AbstractSyntaxTreeKit::Node::UNDEF
- Defined in:
- lib/astkit/node/undef.rb
Instance Attribute Summary collapse
-
#old_name ⇒ Object
readonly
Returns the value of attribute old_name.
Attributes inherited from AbstractSyntaxTreeKit::Node
#body, #children, #condition, #els, #first_column, #first_lineno, #last_column, #last_lineno, #type
Instance Method Summary collapse
-
#initialize(node:, old_name:) ⇒ UNDEF
constructor
A new instance of UNDEF.
Constructor Details
#initialize(node:, old_name:) ⇒ UNDEF
Returns a new instance of UNDEF.
6 7 8 9 |
# File 'lib/astkit/node/undef.rb', line 6 def initialize(node:, old_name:) super(node) @old_name = old_name end |
Instance Attribute Details
#old_name ⇒ Object (readonly)
Returns the value of attribute old_name.
4 5 6 |
# File 'lib/astkit/node/undef.rb', line 4 def old_name @old_name end |