Sha256: ba080077df9011a0dc300801d4a82751498c6dc1035e5ec03e586226969e9a97

Contents?: true

Size: 321 Bytes

Versions: 8

Compression:

Stored size: 321 Bytes

Contents

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

        def call(env)
          Berkshelf.ui = env[:berkshelf].ui
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
vagrant-berkshelf-2.0.0.rc2 lib/berkshelf/vagrant/action/set_ui.rb
vagrant-berkshelf-2.0.0.rc1 lib/berkshelf/vagrant/action/set_ui.rb
vagrant-berkshelf-1.3.7 lib/berkshelf/vagrant/action/set_ui.rb
vagrant-berkshelf-1.3.6 lib/berkshelf/vagrant/action/set_ui.rb
vagrant-berkshelf-1.3.5 lib/berkshelf/vagrant/action/set_ui.rb
vagrant-berkshelf-1.4.0.dev1 lib/berkshelf/vagrant/action/set_ui.rb
vagrant-berkshelf-1.3.4 lib/berkshelf/vagrant/action/set_ui.rb
vagrant-berkshelf-1.3.3 lib/berkshelf/vagrant/action/set_ui.rb