Methods
I
N
Class Public methods
instance()

it's not thread safe

# File benchmark/gc/redblack.rb, line 40
def instance
  @instance ||= begin
    def instance
      return @instance
    end

    new
  end
end
new()
# File benchmark/gc/redblack.rb, line 51
def initialize
  self.color = BLACK
  self.key = 0
  self.left = nil
  self.right = nil
  self.parent = nil
end
Instance Public methods
nil?()
# File benchmark/gc/redblack.rb, line 59
def nil?
  return true
end