Sha256: e714d371cf201beb570c0b21c1438df7752f1832bc929811a8c7ac1b8d63d4b1

Contents?: true

Size: 456 Bytes

Versions: 2

Compression:

Stored size: 456 Bytes

Contents

require "pathname"

module VagrantVminfo

  def self.vagrant_vm_info_root
    @vagrant_vm_info_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-vm-info/plugin"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-vm-info-0.0.5 lib/vagrant-vm-info.rb
vagrant-vm-info-0.0.4 lib/vagrant-vm-info.rb