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
-
.setup_i18n ⇒ Object
This initializes the internationalization strings.
-
.source_root ⇒ Pathname
This returns the path to the source of this plugin.
Class Method Details
.setup_i18n ⇒ Object
This initializes the internationalization strings.
14 15 16 17 |
# File 'lib/vagrant-winrm.rb', line 14 def self.setup_i18n I18n.load_path << File.('locales/en.yml', source_root) I18n.reload! end |
.source_root ⇒ Pathname
This returns the path to the source of this plugin.
9 10 11 |
# File 'lib/vagrant-winrm.rb', line 9 def self.source_root @source_root ||= Pathname.new(File.('../../', __FILE__)) end |