Toplevel class for processing templates. Delegates everything to ErbBinding

Attributes

root_dir [RW]

Name of a directory containing template files. This is used as the base directory when one template is embedded within another.

Public Class methods

new (root_dir=nil)

def initialize(root_dir=nil)
                              @root_dir = root_dir
                            end

Public Instance methods

process_file (bib, filename)

Processes a file containing a bibout template. Params:

bib

Name of BibTeX file

filename

Name of BibOut template file

def process_file(bib, filename)
                              ErbBinding.new(bib, @root_dir).embed(filename)
                            end

process_string (bib, string)

Processes a string containing a bibout template. Params:

bib

Name of BibTeX file

filename

String containing text of BibOut template

def process_string(bib, string)
                              ErbBinding.new(bib, @root_dir).process_string(string)
                            end