Class: Orthoses::ActiveSupport::CoreExt
- Inherits:
-
Object
- Object
- Orthoses::ActiveSupport::CoreExt
- Defined in:
- lib/orthoses/active_support/core_ext.rb
Defined Under Namespace
Classes: Concerning
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(loader) ⇒ CoreExt
constructor
A new instance of CoreExt.
Constructor Details
#initialize(loader) ⇒ CoreExt
Returns a new instance of CoreExt.
26 27 28 |
# File 'lib/orthoses/active_support/core_ext.rb', line 26 def initialize(loader) @loader = loader end |
Instance Method Details
#call ⇒ Object
30 31 32 33 |
# File 'lib/orthoses/active_support/core_ext.rb', line 30 def call @loader = Concerning.new(@loader) @loader.call end |