Sha256: 2a3fce10b320877b828876c9bbe5e6e4a6ca1f61e582e9b4aa64e4f201a31642

Contents?: true

Size: 453 Bytes

Versions: 2

Compression:

Stored size: 453 Bytes

Contents

require "pathname"

module VagrantVminfo

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

  def self.load_script(script_file_name)
    File.read(expand_script_path(script_file_name))
  end

  def self.load_script_template(script_file_name, options)
    Vagrant::Util::TemplateRenderer.render(expand_script_path(script_file_name), options)
  end

end

require "vagrant-vminfo/plugin"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-vminfo-0.0.2 lib/vagrant-vminfo.rb
vagrant-vminfo-0.0.1 lib/vagrant-vminfo.rb