Class: Algorithms::Containers::RubyDeque::Node

Inherits:
Struct
  • Object
show all
Defined in:
lib/containers/deque.rb

Instance Attribute Summary collapse

Instance Attribute Details

#leftObject

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



12
13
14
# File 'lib/containers/deque.rb', line 12

def left
  @left
end

#objObject

Returns the value of attribute obj

Returns:

  • (Object)

    the current value of obj



12
13
14
# File 'lib/containers/deque.rb', line 12

def obj
  @obj
end

#rightObject

Returns the value of attribute right

Returns:

  • (Object)

    the current value of right



12
13
14
# File 'lib/containers/deque.rb', line 12

def right
  @right
end