Class: Node

Inherits:
Struct
  • Object
show all
Defined in:
lib/Dieta/LList.rb

Instance Attribute Summary collapse

Instance Attribute Details

#backObject

Returns the value of attribute back

Returns:

  • (Object)

    the current value of back



1
2
3
# File 'lib/Dieta/LList.rb', line 1

def back
  @back
end

#nextObject

Returns the value of attribute next

Returns:

  • (Object)

    the current value of next



1
2
3
# File 'lib/Dieta/LList.rb', line 1

def next
  @next
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



1
2
3
# File 'lib/Dieta/LList.rb', line 1

def value
  @value
end