Sha256: e631c0b30975fb619cf657ab72c23e7d655f948b27931dc09e24e466843d70a1

Contents?: true

Size: 336 Bytes

Versions: 8

Compression:

Stored size: 336 Bytes

Contents

module VagrantPlugins
  module Vmpooler
    module Action
      class MessageServerRunning
        def initialize(app, env)
          @app = app
        end

        def call(env)
          env[:ui].info(I18n.t("vagrant_vmpooler.server_running", name: env[:machine].id))
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
vagrant-vmpooler-0.2.0 lib/vagrant-vmpooler/action/message_server_running.rb
vagrant-vmpooler-0.1.9 lib/vagrant-vmpooler/action/message_server_running.rb
vagrant-vmpooler-0.1.8 lib/vagrant-vmpooler/action/message_server_running.rb
vagrant-vmpooler-0.1.7 lib/vagrant-vmpooler/action/message_server_running.rb
vagrant-vmpooler-0.1.6 lib/vagrant-vmpooler/action/message_server_running.rb
vagrant-vmpooler-0.1.5 lib/vagrant-vmpooler/action/message_server_running.rb
vagrant-vmpooler-0.1.4 lib/vagrant-vmpooler/action/message_server_running.rb
vagrant-vmpooler-0.1.2 lib/vagrant-vmpooler/action/message_server_running.rb