Sha256: 6a84440dd5c83b3f5e1c9026d93abd32ffde02e85af4d4752d787725fff4a011

Contents?: true

Size: 302 Bytes

Versions: 63

Compression:

Stored size: 302 Bytes

Contents

module VagrantPlugins
  module HyperV
    module Action
      class IsWindows
        def initialize(app, env)
          @app    = app
        end

        def call(env)
          env[:result] = env[:machine].config.vm.guest == :windows
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

63 entries across 56 versions & 8 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-272fb27e0536/plugins/providers/hyperv/action/is_windows.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-1cf2a8db4ccb/plugins/providers/hyperv/action/is_windows.rb
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/bundler/gems/vagrant-1e28f1ac31e7/plugins/providers/hyperv/action/is_windows.rb