Sha256: 75f12fc3ca5cd1c17d3af37e6f08324b730afd7cdd5ebd446817ca6c43a02e98

Contents?: true

Size: 578 Bytes

Versions: 63

Compression:

Stored size: 578 Bytes

Contents

require "vagrant/plugin/state_file"

module VagrantPlugins
  module CommandPlugin
    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

63 entries across 56 versions & 8 rubygems

Version Path
vagrant-unbundled-2.3.6.0 plugins/commands/plugin/command/base.rb
tamtam-vagrant-reload-1.2.1 vendor/cache/vagrant-2092df529ae7/plugins/commands/plugin/command/base.rb
vagrant-unbundled-2.3.3.0 plugins/commands/plugin/command/base.rb
vagrant-unbundled-2.3.2.0 plugins/commands/plugin/command/base.rb
vagrant-unbundled-2.2.19.0 plugins/commands/plugin/command/base.rb
vagrant-unbundled-2.2.18.0 plugins/commands/plugin/command/base.rb
vagrant-unbundled-2.2.16.0 plugins/commands/plugin/command/base.rb
vagrant-unbundled-2.2.14.0 plugins/commands/plugin/command/base.rb
vagrant-aws-mkubenka-0.7.2.pre.24 vendor/bundle/ruby/2.7.0/bundler/gems/vagrant-22795b161bf6/plugins/commands/plugin/command/base.rb
vagrant-unbundled-2.2.10.0 plugins/commands/plugin/command/base.rb
vagrant-unbundled-2.2.9.0 plugins/commands/plugin/command/base.rb
vagrant-unbundled-2.2.8.0 plugins/commands/plugin/command/base.rb
vagrant-unbundled-2.2.7.0 plugins/commands/plugin/command/base.rb
vagrant-unbundled-2.2.6.2 plugins/commands/plugin/command/base.rb
vagrant-unbundled-2.2.6.1 plugins/commands/plugin/command/base.rb
vagrant-unbundled-2.2.6.0 plugins/commands/plugin/command/base.rb
vagrant-unbundled-2.2.5.0 plugins/commands/plugin/command/base.rb
vagrant-unbundled-2.2.4.0 plugins/commands/plugin/command/base.rb
vagrant-unbundled-2.2.3.0 plugins/commands/plugin/command/base.rb
vagrant-unbundled-2.2.2.0 plugins/commands/plugin/command/base.rb