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.8.0 lib/vagrant-invade/command/base.rb
vagrant-invade-0.7.0 lib/vagrant-invade/command/base.rb
vagrant-invade-0.6.4 lib/vagrant-invade/command/base.rb
vagrant-invade-0.6.3 lib/vagrant-invade/command/base.rb
vagrant-invade-0.6.2 lib/vagrant-invade/command/base.rb
vagrant-invade-0.6.1 lib/vagrant-invade/command/base.rb
vagrant-invade-0.6.0 lib/vagrant-invade/command/base.rb
vagrant-invade-0.5.5 lib/vagrant-invade/command/base.rb
vagrant-invade-0.5.4 lib/vagrant-invade/command/base.rb
vagrant-invade-0.5.3 lib/vagrant-invade/command/base.rb
vagrant-invade-0.5.2 lib/vagrant-invade/command/base.rb
vagrant-invade-0.5.1 lib/vagrant-invade/command/base.rb
vagrant-invade-0.5.0 lib/vagrant-invade/command/base.rb
vagrant-invade-0.4.8 lib/vagrant-invade/command/base.rb
vagrant-invade-0.4.7 lib/vagrant-invade/command/base.rb
vagrant-invade-0.4.6 lib/vagrant-invade/command/base.rb
vagrant-invade-0.4.5 lib/vagrant-invade/command/base.rb
vagrant-invade-0.4.4 lib/vagrant-invade/command/base.rb
vagrant-invade-0.4.3 lib/vagrant-invade/command/base.rb
vagrant-invade-0.4.2 lib/vagrant-invade/command/base.rb