Sha256: 089f2ce67bede13351ebbd7c109b00e5004a02adb40414f65c5659da243315c7

Contents?: true

Size: 382 Bytes

Versions: 9

Compression:

Stored size: 382 Bytes

Contents

module VagrantPlugins
  module VCenter
    module Action
      # Prints out a message that the VM is already running.
      class MessageAlreadyRunning
        def initialize(app, env)
          @app = app
        end

        def call(env)
          env[:ui].info(I18n.t('vagrant_vcenter.power.vm_already_running'))
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
vagrant-vcenter-0.3.3 lib/vagrant-vcenter/action/message_already_running.rb
vagrant-vcenter-0.3.2 lib/vagrant-vcenter/action/message_already_running.rb
vagrant-vcenter-0.3.1 lib/vagrant-vcenter/action/message_already_running.rb
vagrant-vcenter-0.3.0 lib/vagrant-vcenter/action/message_already_running.rb
vagrant-vcenter-0.2.1 lib/vagrant-vcenter/action/message_already_running.rb
vagrant-vcenter-0.2.0 lib/vagrant-vcenter/action/message_already_running.rb
vagrant-vcenter-0.1.1 lib/vagrant-vcenter/action/message_already_running.rb
vagrant-vcenter-0.1.0 lib/vagrant-vcenter/action/message_already_running.rb
vagrant-vcenter-0.0.2.pre.dev lib/vagrant-vcenter/action/message_already_running.rb