Class Gem2Rpm::Template
In: lib/gem2rpm/template.rb
Parent: Object

Methods

Classes and Modules

Class Gem2Rpm::Template::TemplateError

Attributes

filename  [RW] 

Public Class methods

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.

Public Instance methods

Read the content of the template file.

[Validate]