Class: VagrantPlugins::Memset::Action::MessageNotCreated

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-memset/action/message_not_created.rb

Instance Method Summary collapse

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