Sha256: 335d87a48bb68e56663664515a2775429f533b9dc57566f8957da0ebe208c8cd

Contents?: true

Size: 571 Bytes

Versions: 28

Compression:

Stored size: 571 Bytes

Contents

require "vagrant/plugin/state_file"

module VagrantPlugins
  module Invade
    module Command
      class Base < Vagrant.plugin('2', :command)
        # This is a helper for executing an action sequence with the proper
        # environment hash setup so that the plugin specific helpers are
        # in.
        #
        # @param [Object] callable the Middleware callable
        # @param [Hash] env Extra environment hash that is merged in.
        def action(callable, env=nil)
          @env.action_runner.run(callable, env)
        end
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
vagrant-invade-0.4.1 lib/vagrant-invade/command/base.rb
vagrant-invade-0.4.0 lib/vagrant-invade/command/base.rb
vagrant-invade-0.4.0.pre.alpha lib/vagrant-invade/command/base.rb
vagrant-invade-0.3.4 lib/vagrant-invade/command/base.rb
vagrant-invade-0.3.3 lib/vagrant-invade/command/base.rb
vagrant-invade-0.3.2 lib/vagrant-invade/command/base.rb
vagrant-invade-0.3.0 lib/vagrant-invade/command/base.rb
vagrant-invade-0.2.0 lib/vagrant-invade/command/base.rb