Thingfish

module
Extended With
Loggability

Network-accessable datastore service

Constants

REVISION

Version control revision

VERSION

Package version

Public Class Methods

anchor
version_string( include_buildnum=false )

Get the library version. If include_buildnum is true, the version string will include the VCS rev ID.

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