Inversion module

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

  • Michael Granger <ged@FaerieMUD.org>

  • Mahlon E. Smith <mahlon@martini.nu>

Constants

REVISION

Version-control revision constant

VERSION

Library version constant

Public Class Methods

version_string( include_buildnum=false )

Get the Inversion version.

# File lib/inversion.rb, line 34
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