Class: Node

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

Instance Attribute Summary collapse

Instance Attribute Details

#nexstObject

Returns the value of attribute nexst

Returns:

  • (Object)

    the current value of nexst



1
2
3
# File 'lib/prct06/list.rb', line 1

def nexst
  @nexst
end

#prevObject

Returns the value of attribute prev

Returns:

  • (Object)

    the current value of prev



1
2
3
# File 'lib/prct06/list.rb', line 1

def prev
  @prev
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



1
2
3
# File 'lib/prct06/list.rb', line 1

def value
  @value
end