Class: VagrantPlugins::ProviderKvm::Util::KvmTemplateRenderer
- Inherits:
-
TemplateRenderer
- Object
- TemplateRenderer
- VagrantPlugins::ProviderKvm::Util::KvmTemplateRenderer
- Defined in:
- lib/vagrant-kvm/util/kvm_template_renderer.rb
Instance Method Summary collapse
-
#full_template_path ⇒ String
Returns the full path to the template, taking into accoun the gem directory and adding the ‘.erb` extension to the end.
Instance Method Details
#full_template_path ⇒ String
Returns the full path to the template, taking into accoun the gem directory and adding the ‘.erb` extension to the end.
14 15 16 |
# File 'lib/vagrant-kvm/util/kvm_template_renderer.rb', line 14 def full_template_path ProviderKvm.source_root.join('templates', "#{template}.erb").to_s.squeeze("/") end |