Class: DList::Node

Inherits:
Struct
  • Object
show all
Defined in:
lib/dsl/doubly_list.rb

Instance Attribute Summary collapse

Instance Attribute Details

#beforeObject

Returns the value of attribute before

Returns:

  • (Object)

    the current value of before



4
5
6
# File 'lib/dsl/doubly_list.rb', line 4

def before
  @before
end

#nextObject

Returns the value of attribute next

Returns:

  • (Object)

    the current value of next



4
5
6
# File 'lib/dsl/doubly_list.rb', line 4

def next
  @next
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



4
5
6
# File 'lib/dsl/doubly_list.rb', line 4

def value
  @value
end