Module: VagrantPlugins::Shell

Defined in:
lib/vagrant-shell.rb,
lib/vagrant-shell/action.rb,
lib/vagrant-shell/config.rb,
lib/vagrant-shell/errors.rb,
lib/vagrant-shell/plugin.rb,
lib/vagrant-shell/version.rb,
lib/vagrant-shell/provider.rb,
lib/vagrant-shell/util/timer.rb,
lib/vagrant-shell/action/is_created.rb,
lib/vagrant-shell/action/read_state.rb,
lib/vagrant-shell/action/run_instance.rb,
lib/vagrant-shell/action/read_ssh_info.rb,
lib/vagrant-shell/action/timed_provision.rb,
lib/vagrant-shell/action/terminate_instance.rb,
lib/vagrant-shell/action/message_not_created.rb,
lib/vagrant-shell/action/message_already_created.rb

Defined Under Namespace

Modules: Action, Errors, Util Classes: Config, Plugin, Provider

Constant Summary collapse

VERSION =
File.read(File.expand_path("../../../VERSION", __FILE__)).strip

Class Method Summary collapse

Class Method Details

.source_rootPathname

This returns the path to the source of this plugin.

Returns:

  • (Pathname)


14
15
16
# File 'lib/vagrant-shell.rb', line 14

def self.source_root
  @source_root ||= Pathname.new(File.expand_path("../../", __FILE__))
end