Class: VagrantPlugins::ProviderVirtualBox::Action::MessageSnapshotNotCreated

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-multiprovider-snap/providers/virtualbox/action/message_snapshot_not_created.rb

Instance Method Summary collapse

Constructor Details

#initialize(app, env) ⇒ MessageSnapshotNotCreated

Returns a new instance of MessageSnapshotNotCreated.



9
10
11
# File 'lib/vagrant-multiprovider-snap/providers/virtualbox/action/message_snapshot_not_created.rb', line 9

def initialize(app, env)
    @app = app
end

Instance Method Details

#call(env) ⇒ Object



13
14
15
16
17
18
19
# File 'lib/vagrant-multiprovider-snap/providers/virtualbox/action/message_snapshot_not_created.rb', line 13

def call(env)

    env[:ui].info I18n.t("vagrant_snap.actions.vm.snapshot_not_created")

    @app.call(env)

end