Class: Aerogel::Application

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/aerogel/core/application.rb

Class Method Summary collapse

Class Method Details

.loadObject

Loads and configures application modules



18
19
20
21
22
23
24
# File 'lib/aerogel/core/application.rb', line 18

def self.load
  Aerogel.on_load_callbacks.each do |callback|
    callback.call self
  end
  puts "** Aerogel application configured v#{Aerogel::version}-#{environment}"
  self
end