Sha256: 9a8249f821567dec380c758d3f0d1276ed5bce72bde27d7af862b4d9dedd572b

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

module VagrantPlugins
  module DockerProvider
    module Action
      class IsBuild
        def initialize(app, env)
          @app    = app
        end

        def call(env)
          env[:result] = !!env[:machine].provider_config.build_dir
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-cloudstack-1.2.0 vendor/bundle/bundler/gems/vagrant-c84e05fd063f/plugins/providers/docker/action/is_build.rb