Class Backup::Template
In: lib/backup/template.rb
Parent: Object

Methods

new   render   result  

Attributes

binding  [RW]  Holds a binding object. Nil if not provided.

Public Class methods

Creates a new instance of the Backup::Template class and optionally takes an argument that can be either a binding object, a Hash or nil

Public Instance methods

Renders the provided file (in the context of the binding if any) to the console

Returns a String object containing the contents of the file (in the context of the binding if any)

[Validate]