Class: VagrantPlugins::Memset::Action::MessageNotCreated
- Inherits:
-
Object
- Object
- VagrantPlugins::Memset::Action::MessageNotCreated
- Defined in:
- lib/vagrant-memset/action/message_not_created.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, env) ⇒ MessageNotCreated
constructor
A new instance of MessageNotCreated.
Constructor Details
#initialize(app, env) ⇒ MessageNotCreated
Returns a new instance of MessageNotCreated.
6 7 8 |
# File 'lib/vagrant-memset/action/message_not_created.rb', line 6 def initialize(app, env) @app = app end |
Instance Method Details
#call(env) ⇒ Object
10 11 12 13 |
# File 'lib/vagrant-memset/action/message_not_created.rb', line 10 def call(env) env[:ui].info("Miniserver is not created") @app.call(env) end |