Class: References::Node

Inherits:
Struct
  • Object
show all
Defined in:
lib/references/list.rb

Overview

Struct of a list

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) back

Returns the value of attribute back

Returns:

  • (Object)

    the current value of back



3
4
5
# File 'lib/references/list.rb', line 3

def back
  @back
end

- (Object) next

Returns the value of attribute next

Returns:

  • (Object)

    the current value of next



3
4
5
# File 'lib/references/list.rb', line 3

def next
  @next
end

- (Object) value

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



3
4
5
# File 'lib/references/list.rb', line 3

def value
  @value
end