Class: TokyoCabinet::CIBDB

Inherits:
BDB
  • Object
show all
Defined in:
lib/rbot/registry/tc.rb

Instance Method Summary collapse

Instance Method Details

#open(path, omode) ⇒ Object



91
92
93
94
95
96
97
98
99
# File 'lib/rbot/registry/tc.rb', line 91

def open(path, omode)
  res = super
  if res
    self.setcmpfunc(Proc.new do |a, b|
      a.downcase <=> b.downcase
    end)
  end
  res
end