Module: Spine::Engines::Loaders::Initializers

Extended by:
Initializers
Included in:
Initializers
Defined in:
lib/spine/engines/loaders/initializers.rb

Instance Method Summary collapse

Instance Method Details

#call(app) ⇒ Object



7
8
9
10
# File 'lib/spine/engines/loaders/initializers.rb', line 7

def call(app)
  source = app.root.join('config', 'initializers', '*.rb')
  Dir[source].each { |file| require file }
end