Inversion

module
Extended With
Loggability

The Inversion templating system. This module provides the namespace for all the other classes and modules, and contains the logging subsystem. A good place to start for documentation would be to check out the examples in the README, and then Inversion::Template for a list of tags, configuration options, etc.

Authors

Constants

REVISION

Version-control revision constant

VERSION

Library version constant

Public Class Methods

anchor
version_string( include_buildnum=false )

Get the Inversion version.

# File lib/inversion.rb, line 35
def self::version_string( include_buildnum=false )
        vstring = "%s %s" % [ self.name, VERSION ]
        vstring << " (build %s)" % [ REVISION[/: ([[:xdigit:]]+)/, 1] || '0' ] if include_buildnum
        return vstring
end