"DTD/xhtml1-strict.dtd">
Class Irc::DBHash |
|
DBHash is for tying a hash to disk (using bdb). Call it with an identifier, for example "mydata". It'll look for mydata.db, if it exists, it will load and reference that db. Otherwise it'll create and empty db called mydata.db
Methods |
Public Class methods |
new(bot, key, absfilename=false) |
absfilename: | use key as an actual filename, don't prepend the bot's config path and don't append ".db" |
create_db(name) |
open_db(name) |
Public Instance methods |
method_missing(method, *args, &block) |