Sha256: 8159c1258e60fdaede4df8c5c6614b9d838c3025ab92900f855af228a7b79962

Contents?: true

Size: 268 Bytes

Versions: 3

Compression:

Stored size: 268 Bytes

Contents

module Berkshelf
  module Vagrant
    module Action
      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

3 entries across 3 versions & 1 rubygems

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