Method: Irc::Bot::Registry::Accessor#each
- Defined in:
-
lib/rbot/registry/tc.rb,
lib/rbot/registry/bdb.rb
just like Hash#each
401 402 403 404 405 406 |
# File 'lib/rbot/registry/tc.rb', line 401 def each(set=nil, bulk=0, &block) return nil unless File.exist?(@filename) registry.fwmkeys(set).each {|key| block.call(key, restore(registry[key])) } end |