Module: VagrantPlugins::Share

Defined in:
lib/vagrant-share.rb,
lib/vagrant-share/errors.rb,
lib/vagrant-share/helper.rb,
lib/vagrant-share/plugin.rb,
lib/vagrant-share/command.rb,
lib/vagrant-share/version.rb,
lib/vagrant-share/helper/api.rb,
lib/vagrant-share/cap/tinycore.rb,
lib/vagrant-share/command/ngrok.rb,
lib/vagrant-share/command/share.rb,
lib/vagrant-share/command/connect.rb,
lib/vagrant-share/helper/word_list.rb,
lib/vagrant-share/command/ngrok/share.rb,
lib/vagrant-share/command/ngrok/connect.rb

Defined Under Namespace

Modules: Cap, Command, Errors Classes: Helper, Plugin

Constant Summary collapse

VERSION =
Gem::Version.new(File.read(File.expand_path("../../../version.txt", __FILE__)))

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-share.rb', line 14

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