Class: VagrantPlugins::G5K::Action::CreateLocalWorkingDir
- Inherits:
-
Object
- Object
- VagrantPlugins::G5K::Action::CreateLocalWorkingDir
- Defined in:
- lib/vagrant-g5k/action/create_local_working_dir.rb
Overview
This runs the configured instance.
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, env) ⇒ CreateLocalWorkingDir
constructor
A new instance of CreateLocalWorkingDir.
Constructor Details
#initialize(app, env) ⇒ CreateLocalWorkingDir
Returns a new instance of CreateLocalWorkingDir.
12 13 14 15 |
# File 'lib/vagrant-g5k/action/create_local_working_dir.rb', line 12 def initialize(app, env) @app = app @logger = Log4r::Logger.new("vagrant_g5k::action::run_instance") end |
Instance Method Details
#call(env) ⇒ Object
17 18 19 20 21 |
# File 'lib/vagrant-g5k/action/create_local_working_dir.rb', line 17 def call(env) conn = env[:g5k_connection] conn.create_local_working_dir() @app.call(env) end |