Sha256: bcfa3b29559eff09b522cbdaf58795dc49bf0d1ee33b11f084c9b2510e905a47

Contents?: true

Size: 365 Bytes

Versions: 3

Compression:

Stored size: 365 Bytes

Contents

module VagrantPlugins
  module VCloud
    module Action
      class MessageAlreadyRunning
        def initialize(app, env)
          @app = app
        end

        def call(env)
          # FIXME: This error should be categorized
          env[:ui].info(I18n.t("vagrant_vcloud.vm_already_running"))
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-vcloud-0.1.2 lib/vagrant-vcloud/action/message_already_running.rb
vagrant-vcloud-0.1.1 lib/vagrant-vcloud/action/message_already_running.rb
vagrant-vcloud-0.1.0 lib/vagrant-vcloud/action/message_already_running.rb