Class: ActiveSupport::Dependencies::ClassCache::Getter

Inherits:
Object
  • Object
show all
Defined in:
activesupport/lib/active_support/dependencies.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Getter

Returns a new instance of Getter.



555
556
557
# File 'activesupport/lib/active_support/dependencies.rb', line 555

def initialize(name)
  @name = name
end

Instance Method Details

#getObject



559
560
561
# File 'activesupport/lib/active_support/dependencies.rb', line 559

def get
  Reference.get @name
end