frapposelli/vagrant-vcloud

View on GitHub
lib/vagrant-vcloud/action/message_not_running.rb

Summary

Maintainability
A
0 mins
Test Coverage
module VagrantPlugins
  module VCloud
    module Action
      class MessageNotRunning
        def initialize(app, env)
          @app = app
        end

        def call(env)
          env[:ui].info(I18n.t('vagrant_vcloud.vm_not_running'))
          @app.call(env)
        end
      end
    end
  end
end