Sha256: e0b4797f2f56bbcb01bce08f0c7f32468df8eef79c9b94d879419889018f9345

Contents?: true

Size: 549 Bytes

Versions: 3

Compression:

Stored size: 549 Bytes

Contents

module Berkshelf
  module Vagrant
    # Environment data to build up and persist through the middleware chain
    class Env
      # @return [Vagrant::UI::Colored]
      attr_accessor :ui
      # @return [Berkshelf::Berksfile]
      attr_accessor :berksfile
      # @return [String]
      attr_accessor :shelf
      # @return [Berkshelf::Config]
      attr_accessor :config

      def initialize
        @ui = ::Vagrant::UI::Colored.new
        @ui.opts[:target] = 'Berkshelf'
        @config = Berkshelf::Config.instance
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-berkshelf-2.0.1 lib/berkshelf/vagrant/env.rb
vagrant-berkshelf-2.0.0.rc4 lib/berkshelf/vagrant/env.rb
vagrant-berkshelf-2.0.0.rc3 lib/berkshelf/vagrant/env.rb