# File rbot/registry.rb, line 148 def [](key) if @registry.has_key?(@prefix + key) return restore(@registry[@prefix + key]) elsif @default != nil return restore @default else return nil end end