Sha256: 2b57cd35e5a8003121ee8484de4d6f154bdcd739cc26a59e49c19f02e92a5a5a

Contents?: true

Size: 606 Bytes

Versions: 2

Compression:

Stored size: 606 Bytes

Contents

module Berkshelf
  module Vagrant
    # @author Jamie Winsor <jamie@vialstudios.com>
    #
    # 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

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-berkshelf-2.0.0.rc2 lib/berkshelf/vagrant/env.rb
vagrant-berkshelf-2.0.0.rc1 lib/berkshelf/vagrant/env.rb