Module: VagrantPlugins::Registration

Defined in:
lib/vagrant-registration.rb,
lib/vagrant-registration/env.rb,
lib/vagrant-registration/plugin.rb,
lib/vagrant-registration/action.rb,
lib/vagrant-registration/config.rb,
lib/vagrant-registration/errors.rb,
lib/vagrant-registration/version.rb,
lib/vagrant-registration/action/register.rb,
lib/vagrant-registration/action/unregister.rb

Defined Under Namespace

Modules: Action, Errors Classes: Config, Plugin

Constant Summary

VERSION =
"0.0.11"

Class Method Summary (collapse)

Class Method Details

+ (Pathname) source_root

This returns the path to the source of this plugin.

Returns:

  • (Pathname)


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

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