Class: Nodo

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

Instance Attribute Summary collapse

Instance Attribute Details

#previoObject

Returns the value of attribute previo

Returns:

  • (Object)

    the current value of previo



1
2
3
# File 'lib/nutrientes/nodo.rb', line 1

def previo
  @previo
end

#siguienteObject

Returns the value of attribute siguiente

Returns:

  • (Object)

    the current value of siguiente



1
2
3
# File 'lib/nutrientes/nodo.rb', line 1

def siguiente
  @siguiente
end

#valorObject

Returns the value of attribute valor

Returns:

  • (Object)

    the current value of valor



1
2
3
# File 'lib/nutrientes/nodo.rb', line 1

def valor
  @valor
end