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.
Michael Granger <ged@FaerieMUD.org>
Mahlon E. Smith <mahlon@martini.nu>
Log levels
Log levels keyed by level
Version-control revision constant
Library version constant
Reset the global logger object to the default
# File lib/inversion.rb, line 74 def self::reset_logger self.logger = self.default_logger self.logger.level = Logger::WARN self.logger.formatter = self.default_log_formatter end
Returns true if the global logger has not been set to something other than the default one.
# File lib/inversion.rb, line 83 def self::using_default_logger? return self.logger == self.default_logger end
Get the Inversion version.
# File lib/inversion.rb, line 89 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
Generated with the Darkfish Rdoc Generator 2.