Method: ActiveSupport::Dependencies::ClassCache#get
- Defined in:
- lib/active_support/dependencies.rb
#get(key) ⇒ Object Also known as: []
580 581 582 583 |
# File 'lib/active_support/dependencies.rb', line 580 def get(key) key = key.name if key.respond_to?(:name) @store[key] ||= Inflector.constantize(key) end |