Sha256: d7eba36158ec2be73b9bb31964c0b41ee6901e772efa38caa650b0514eb8f981

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

module Berkshelf
  module Vagrant
    module Action
      # @author Jamie Winsor <reset@riotgames.com>
      class SetUI
        def initialize(app, env)
          @app = app
        end

        def call(env)
          Berkshelf.ui = ::Vagrant::UI::Colored.new('Berkshelf')
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
berkshelf-1.2.1 lib/berkshelf/vagrant/action/set_ui.rb
berkshelf-1.2.0.rc1 lib/berkshelf/vagrant/action/set_ui.rb