Sha256: 2b520077733673cdf83a8d1da1ac82cb325149bd0635a5073a593190d3b8cfb2

Contents?: true

Size: 396 Bytes

Versions: 2

Compression:

Stored size: 396 Bytes

Contents

#
# Author:: Mohit Sethi (<mohit@sethis.in>)
# Copyright:: Copyright (c) 2013 Mohit Sethi.
#

module VagrantPlugins
  module HP
    module Action
      class MessageAlreadyCreated
        def initialize(app, env)
          @app = app
        end

        def call(env)
          env[:ui].info(I18n.t("vagrant_hp.already_created"))
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-hp-0.1.2 lib/vagrant-hp/action/message_already_created.rb
vagrant-hp-0.1.1 lib/vagrant-hp/action/message_already_created.rb