Module: VagrantPlugins::VagrantWinRM

Defined in:
lib/version.rb,
lib/vagrant-winrm.rb,
lib/vagrant-winrm/errors.rb,
lib/vagrant-winrm/plugin.rb,
lib/vagrant-winrm/commands/winrm.rb,
lib/vagrant-winrm/commands/winrm_config.rb,
lib/vagrant-winrm/commands/winrm_upload.rb

Defined Under Namespace

Modules: Errors Classes: Plugin, WinRM, WinRMConfig, WinRMUpload

Constant Summary collapse

VERSION =
'0.7.0'

Class Method Summary collapse

Class Method Details

.setup_i18nObject

This initializes the internationalization strings.



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

def self.setup_i18n
  I18n.load_path << File.expand_path('locales/en.yml', source_root)
  I18n.reload!
end

.source_rootPathname

This returns the path to the source of this plugin.

Returns:

  • (Pathname)


9
10
11
# File 'lib/vagrant-winrm.rb', line 9

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