Module: VagrantVminfo
- Defined in:
- lib/vagrant-vminfo.rb,
lib/vagrant-vminfo/plugin.rb,
lib/vagrant-vminfo/version.rb
Defined Under Namespace
Classes: InfoCommand, Plugin
Constant Summary
collapse
- VERSION =
"0.0.2"
Class Method Summary
collapse
Class Method Details
.load_script(script_file_name) ⇒ Object
9
10
11
|
# File 'lib/vagrant-vminfo.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-vminfo.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_vminfo_root ⇒ Object
5
6
7
|
# File 'lib/vagrant-vminfo.rb', line 5
def self.vagrant_vminfo_root
@vagrant_vminfo_root ||= Pathname.new(File.expand_path("../../", __FILE__))
end
|