Class: Nodo

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

Instance Attribute Summary collapse

Instance Attribute Details

#datoObject

Returns the value of attribute dato

Returns:

  • (Object)

    the current value of dato



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

def dato
  @dato
end

#next_Object

Returns the value of attribute next_

Returns:

  • (Object)

    the current value of next_



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

def next_
  @next_
end

#prev_Object

Returns the value of attribute prev_

Returns:

  • (Object)

    the current value of prev_



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

def prev_
  @prev_
end