Module: VagrantPlugins::VagrantHook

Defined in:
lib/vagrant_hook.rb,
lib/vagrant_hook/plugin.rb,
lib/vagrant_hook/version.rb

Defined Under Namespace

Classes: AddBoxHook, HookActionAbstract, HookBoxCheckOutdated, HooksConfig, Plugin, PrepareCloneHook

Constant Summary collapse

VERSION =
"0.1.6"

Class Method Summary collapse

Class Method Details

.source_rootPathname

This returns the path to the source of this plugin.

Returns:

  • (Pathname)


16
17
18
# File 'lib/vagrant_hook.rb', line 16

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