Module: VagrantPlugins::RekeySSH
- Defined in:
- lib/vagrant-rekey-ssh.rb,
lib/vagrant-rekey-ssh/config.rb,
lib/vagrant-rekey-ssh/errors.rb,
lib/vagrant-rekey-ssh/plugin.rb,
lib/vagrant-rekey-ssh/helpers.rb,
lib/vagrant-rekey-ssh/version.rb,
lib/vagrant-rekey-ssh/actions/ssh_info.rb,
lib/vagrant-rekey-ssh/actions/secure_box.rb
Defined Under Namespace
Modules: Errors, Helpers Classes: ActionSSHInfo, ActionSecureBox, Config, Plugin
Constant Summary collapse
- VERSION =
"0.1.7"
Class Method Summary collapse
-
.init_i18n ⇒ Object
This initializes the i18n load path so that the plugin-specific translations work.
-
.source_root ⇒ Pathname
This returns the path to the source of this plugin.
Class Method Details
.init_i18n ⇒ Object
This initializes the i18n load path so that the plugin-specific translations work.
11 12 13 14 |
# File 'lib/vagrant-rekey-ssh.rb', line 11 def self.init_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.
19 20 21 |
# File 'lib/vagrant-rekey-ssh.rb', line 19 def self.source_root @source_root ||= Pathname.new(File.("../../", __FILE__)) end |