Module: VagrantVminfo
- Defined in:
- lib/vagrant-vm-info.rb,
lib/vagrant-vm-info/plugin.rb,
lib/vagrant-vm-info/version.rb
Defined Under Namespace
Classes: InfoCommand, Plugin
Constant Summary
collapse
- VERSION =
"0.0.5"
Class Method Summary
collapse
Class Method Details
.load_script(script_file_name) ⇒ Object
9
10
11
|
# File 'lib/vagrant-vm-info.rb', line 9
def self.load_script(script_file_name)
File.read(expand_script_path(script_file_name))
end
|
.load_script_template(script_file_name, options) ⇒ Object
13
14
15
|
# File 'lib/vagrant-vm-info.rb', line 13
def self.load_script_template(script_file_name, options)
Vagrant::Util::TemplateRenderer.render(expand_script_path(script_file_name), options)
end
|
.vagrant_vm_info_root ⇒ Object
5
6
7
|
# File 'lib/vagrant-vm-info.rb', line 5
def self.vagrant_vm_info_root
@vagrant_vm_info_root ||= Pathname.new(File.expand_path("../../", __FILE__))
end
|