Class: Listaa::Nodo

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

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) next

Returns the value of attribute next

Returns:

  • (Object)

    the current value of next



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

def next
  @next
end

- (Object) prev

Returns the value of attribute prev

Returns:

  • (Object)

    the current value of prev



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

def prev
  @prev
end

- (Object) value

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



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

def value
  @value
end