Methods
B
R
Constants
RED = :red
 
BLACK = :black
 
COLORS = [RED, BLACK].freeze
 
Attributes
[RW] color
[RW] key
[RW] left
[RW] parent
[RW] right
Instance Public methods
black?()
# File benchmark/gc/redblack.rb, line 26
def black?
  return color == BLACK
end
red?()
# File benchmark/gc/redblack.rb, line 30
def red?
  return color == RED
end