Sha256: 172f8e29847aa87768f167474614f5b1b742dbf7a649a179155ae88052a5d386

Contents?: true

Size: 412 Bytes

Versions: 11

Compression:

Stored size: 412 Bytes

Contents

module VagrantPlugins

    module ProviderVirtualBox

        module Action

            class HasSnapshot

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

                def call(env)

                    env[:result] = env[:machine].provider.driver.has_snapshot?

                    @app.call(env)

                end

            end

        end

    end

end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
vagrant-multiprovider-snap-0.0.12 lib/vagrant-multiprovider-snap/providers/virtualbox/action/has_snapshot.rb
vagrant-multiprovider-snap-0.0.11 lib/vagrant-multiprovider-snap/providers/virtualbox/action/has_snapshot.rb
vagrant-multiprovider-snap-0.0.10 lib/vagrant-multiprovider-snap/providers/virtualbox/action/has_snapshot.rb
vagrant-multiprovider-snap-0.0.9 lib/vagrant-multiprovider-snap/providers/virtualbox/action/has_snapshot.rb
vagrant-multiprovider-snap-0.0.8 lib/vagrant-multiprovider-snap/providers/virtualbox/action/has_snapshot.rb
vagrant-multiprovider-snap-0.0.7 lib/vagrant-multiprovider-snap/providers/virtualbox/action/has_snapshot.rb
vagrant-multiprovider-snap-0.0.6 lib/vagrant-multiprovider-snap/providers/virtualbox/action/has_snapshot.rb
vagrant-multiprovider-snap-0.0.5 lib/vagrant-multiprovider-snap/providers/virtualbox/action/has_snapshot.rb
vagrant-multiprovider-snap-0.0.4 lib/vagrant-multiprovider-snap/providers/virtualbox/action/has_snapshot.rb
vagrant-zz-multiprovider-snap-0.0.3 lib/vagrant-multiprovider-snap/providers/virtualbox/action/has_snapshot.rb
vagrant-zz-multiprovider-snap-0.0.2 lib/vagrant-multiprovider-snap/providers/virtualbox/action/has_snapshot.rb