Class: References::Node
- Inherits:
-
Struct
- Object
- Struct
- References::Node
- Defined in:
- lib/references/list.rb
Overview
Struct of a list
Instance Attribute Summary collapse
-
#back ⇒ Object
Returns the value of attribute back.
-
#next ⇒ Object
Returns the value of attribute next.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#back ⇒ Object
Returns the value of attribute back
3 4 5 |
# File 'lib/references/list.rb', line 3 def back @back end |
#next ⇒ Object
Returns the value of attribute next
3 4 5 |
# File 'lib/references/list.rb', line 3 def next @next end |
#value ⇒ Object
Returns the value of attribute value
3 4 5 |
# File 'lib/references/list.rb', line 3 def value @value end |