Class: Node

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

Instance Attribute Summary collapse

Instance Attribute Details

#nextObject

Returns the value of attribute next



2
3
4
# File 'lib/lista.rb', line 2

def next
  @next
end

#prevObject

Returns the value of attribute prev



2
3
4
# File 'lib/lista.rb', line 2

def prev
  @prev
end

#valueObject

Returns the value of attribute value



2
3
4
# File 'lib/lista.rb', line 2

def value
  @value
end