Class: Orthoses::ActiveSupport::CoreExt

Inherits:
Object
  • Object
show all
Defined in:
lib/orthoses/active_support/core_ext.rb

Defined Under Namespace

Classes: Concerning

Instance Method Summary collapse

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

#callObject



30
31
32
33
# File 'lib/orthoses/active_support/core_ext.rb', line 30

def call
  @loader = Concerning.new(@loader)
  @loader.call
end