# File rbot/registry.rb, line 251 def to_hash ret = Hash.new @registry.each {|key, value| if key.gsub!(/^#{Regexp.escape(@prefix)}/, "") ret[key] = restore(value) end } return ret end