Class: BDB::CIBtree
- Defined in:
- lib/rbot/registry/tc.rb,
lib/rbot/registry/bdb.rb
Instance Method Summary collapse
Instance Method Details
#bdb_bt_compare(a, b) ⇒ Object
79 80 81 82 83 84 |
# File 'lib/rbot/registry/tc.rb', line 79 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 |