Sha256: ece45a0afac8d3ac7947b4cc8f13cc0cf698c0eb67a1f1b059f3a15ef6a8e94d

Contents?: true

Size: 735 Bytes

Versions: 3

Compression:

Stored size: 735 Bytes

Contents

module HashiCorp

    module VagrantVMwarefusion

        module Action

            class MessageSnapshotNotCreated

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

                def call(env)

                    if env[:snap_name].nil?
                        env[:ui].info I18n.t("vagrant_snap.actions.vm.snapshot_not_created.not_created")
                    else
                        env[:ui].info(I18n.t("vagrant_snap.actions.vm.snapshot_not_created.named_not_exist",
                            :snapshot => env[:snap_name]),
                        )
                    end

                    @app.call(env)

                end

            end

        end

    end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-multiprovider-snap-0.0.15 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/message_snapshot_not_created.rb
vagrant-multiprovider-snap-0.0.14 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/message_snapshot_not_created.rb
vagrant-multiprovider-snap-0.0.13 lib/vagrant-multiprovider-snap/providers/vmware_fusion/action/message_snapshot_not_created.rb