Class: VagrantPlugins::Rimu::Actions::MessageWillNotStop
- Inherits:
-
AbstractAction
- Object
- AbstractAction
- VagrantPlugins::Rimu::Actions::MessageWillNotStop
- Defined in:
- lib/vagrant-rimu/actions/message_will_not_stop.rb
Instance Method Summary collapse
- #execute(env) ⇒ Object
-
#initialize(app, env) ⇒ MessageWillNotStop
constructor
A new instance of MessageWillNotStop.
Methods inherited from AbstractAction
Constructor Details
#initialize(app, env) ⇒ MessageWillNotStop
Returns a new instance of MessageWillNotStop.
7 8 9 10 |
# File 'lib/vagrant-rimu/actions/message_will_not_stop.rb', line 7 def initialize(app, env) @app = app @machine = env[:machine] end |
Instance Method Details
#execute(env) ⇒ Object
12 13 14 15 |
# File 'lib/vagrant-rimu/actions/message_will_not_stop.rb', line 12 def execute(env) env[:ui].info(I18n.t('vagrant_rimu.will_not_stop', {:name => @machine.name})) @app.call(env) end |