class BDB::CIBtree

Public Instance Methods

bdb_bt_compare(a, b) click to toggle source
# File lib/rbot/registry/bdb.rb, line 33
def bdb_bt_compare(a, b)
  if a == nil || b == nil
    warning "CIBTree: comparing #{a.inspect} (#{self[a].inspect}) with #{b.inspect} (#{self[b].inspect})"
  end
  (a||'').downcase <=> (b||'').downcase
end