Sha256: d83fa833da56360f45d245c8fe3375fccafddc554749c6837e45cb3bce239fa6

Contents?: true

Size: 372 Bytes

Versions: 11

Compression:

Stored size: 372 Bytes

Contents

require 'vagrant-conoha/action/abstract_action'

module VagrantPlugins
  module ConoHa
    module Action
      class Message < AbstractAction
        def initialize(app, _env, message)
          @app = app
          @message = message
        end

        def execute(env)
          env[:ui].info(@message)
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
vagrant-conoha-0.1.10 lib/vagrant-conoha/action/message.rb
vagrant-conoha-0.1.9 lib/vagrant-conoha/action/message.rb
vagrant-conoha-0.1.8 lib/vagrant-conoha/action/message.rb
vagrant-conoha-0.1.7 lib/vagrant-conoha/action/message.rb
vagrant-conoha-0.1.6 lib/vagrant-conoha/action/message.rb
vagrant-conoha-0.1.5 lib/vagrant-conoha/action/message.rb
vagrant-conoha-0.1.4 lib/vagrant-conoha/action/message.rb
vagrant-conoha-0.1.3 lib/vagrant-conoha/action/message.rb
vagrant-conoha-0.1.2 lib/vagrant-conoha/action/message.rb
vagrant-conoha-0.1.1 lib/vagrant-conoha/action/message.rb
vagrant-conoha-0.1.0 lib/vagrant-conoha/action/message.rb