Class: Nodo

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

Overview

Struct de un nodo para insertar en lista

Instance Attribute Summary collapse

Instance Attribute Details

#Next_Object

Returns the value of attribute Next_

Returns:

  • (Object)

    the current value of Next_



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

def Next_
  @Next_
end

#prevObject

Returns the value of attribute prev

Returns:

  • (Object)

    the current value of prev



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

def prev
  @prev
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



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

def value
  @value
end