"DTD/xhtml1-strict.dtd">
Class Irc::DBHash
In: rbot/dbhash.rb
Parent: Object
Class: JoinMessage Class: PartMessage Class: Plugins Class: KickMessage Class: IrcAuth Class: IRCChannel Class: IrcSocket Class: BotConfig Class: Keywords Class: BotRegistryAccessor Class: IrcClient Class: DBHash Class: Language Class: TopicMessage Class: QuitMessage Class: PrivMessage Class: UserMessage Class: NoticeMessage Class: IrcBot Class: BasicUserMessage Class: NickMessage Class: Plugin Class: BotRegistry Class: Keyword Class: DBTree Module: Irc

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
create_db    method_missing    new    open_db   
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)