# File lib/active_support/dependencies.rb, line 547 def [](key) key = key.name if key.respond_to?(:name) @store[key] end
# File lib/active_support/dependencies.rb, line 539 def []=(key, value) return unless key.respond_to?(:name) raise(ArgumentError, 'anonymous classes cannot be cached') if key.name.blank? @store[key.name] = value end
# File lib/active_support/dependencies.rb, line 576 def clear! @store.clear end
# File lib/active_support/dependencies.rb, line 531 def empty? @store.empty? end
# File lib/active_support/dependencies.rb, line 535 def key?(key) @store.key?(key) end
Generated with the Darkfish Rdoc Generator 2.