Class: Lista::Node

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

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) father

Returns the value of attribute father

Returns:

  • (Object)

    the current value of father



5
6
7
# File 'lib/nodelist/list.rb', line 5

def father
  @father
end

- (Object) next

Returns the value of attribute next

Returns:

  • (Object)

    the current value of next



5
6
7
# File 'lib/nodelist/list.rb', line 5

def next
  @next
end

- (Object) value

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



5
6
7
# File 'lib/nodelist/list.rb', line 5

def value
  @value
end