Class: Awkward::Visitor::Node
- Inherits:
-
Struct
- Object
- Struct
- Awkward::Visitor::Node
- Defined in:
- lib/awkward/visitor.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#object ⇒ Object
Returns the value of attribute object.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(object) ⇒ Node
constructor
A new instance of Node.
Constructor Details
#initialize(object) ⇒ Node
Returns a new instance of Node.
4 5 6 |
# File 'lib/awkward/visitor.rb', line 4 def initialize object super(object, object.class.name) end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
3 4 5 |
# File 'lib/awkward/visitor.rb', line 3 def name @name end |
#object ⇒ Object
Returns the value of attribute object
3 4 5 |
# File 'lib/awkward/visitor.rb', line 3 def object @object end |
#value ⇒ Object
Returns the value of attribute value
3 4 5 |
# File 'lib/awkward/visitor.rb', line 3 def value @value end |