Yusuke Kawasaki > WSST-0.1.1 > WSST::Generator

Download:
WSST-0.1.1.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.1.1   Source  

NAME ^

WSST::Generator - Generator class of WSST

DESCRIPTION ^

Generator is a template base generator. The generate method of this class looks for the template file from the template directory, and processes those files.

METHODS ^

new

Constructor.

generator_names

Returns generator name and alias. This method returns subdirectory name of template directory.

If the structure of template directory is as follows, ["perl", "php"] is returned.

    templates/
    |-- perl/
    |   `-- ...
    `-- php/
        `-- ... 

generate

Generate library and return generated file names by processing template files in template directory.

SEE ALSO ^

http://code.google.com/p/wsst/

AUTHORS ^

Mitsuhisa Oshikawa <mitsuhisa [at] gmail.com> Yusuke Kawasaki <u-suke [at] kawa.net>

COPYRIGHT AND LICENSE ^

Copyright 2008 WSS Project Team

syntax highlighting: