Class: VagrantPlugins::Cienv::Action::InitEnvironment
- Inherits:
-
Object
- Object
- VagrantPlugins::Cienv::Action::InitEnvironment
- Defined in:
- lib/vagrant-qienv/action/init_environment.rb
Overview
This action sets up the QI QI environment
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, env) ⇒ InitEnvironment
constructor
A new instance of InitEnvironment.
Constructor Details
#initialize(app, env) ⇒ InitEnvironment
Returns a new instance of InitEnvironment.
10 11 12 13 |
# File 'lib/vagrant-qienv/action/init_environment.rb', line 10 def initialize(app, env) @app = app @logger = Log4r::Logger.new("vagrant_qi::action::init_environment") end |
Instance Method Details
#call(env) ⇒ Object
15 16 17 18 19 |
# File 'lib/vagrant-qienv/action/init_environment.rb', line 15 def call(env) puts "i am inside class InitEnvironment" @logger.info('i am inside class InitEnvironment - call()') @app.call(env) end |