Method: Irc::Bot::Registry::Accessor#delete
- Defined in:
-
lib/rbot/registry/tc.rb,
lib/rbot/registry/bdb.rb
delete a key from the registry
455 456 457 458 |
# File 'lib/rbot/registry/tc.rb', line 455 def delete(key) return default unless File.exist?(@filename) return registry.delete(key.to_s) end |