Class | Gem2Rpm::Template |
In: |
lib/gem2rpm/template.rb
|
Parent: | Object |
filename | [RW] |
Returns instance of Template class. If the ‘name’ parameter is specified it tries to instantiate the template of specific name first. When options[:gem_file] is specified, it can be taken into consideration when looking for vagrant templates for example.
Create instance of Template class of specified template filename. TemplateError is raised when the template file does not exists.