Method: Gloo::App::Engine#initialize
- Defined in:
- lib/gloo/app/engine.rb
#initialize(context) ⇒ Engine
Set up the engine with basic elements.
23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/gloo/app/engine.rb', line 23 def initialize( context ) @args = Args.new( self, context.params ) @settings = Settings.new( self, context.user_root ) @log = context.log.new( self, @args.quiet? ) @log.debug "log (class: #{@log.class.name}) in use ..." @platform = context.platform @log.debug "platform (class: #{@platform.class.name}) in use ..." @log.debug 'engine intialized...' end |