module Thingfish
Network-accessable datastore service
Constants
- REVISION
Version control revision
- VERSION
Package version
Public Class Methods
version_string( include_buildnum=false )
click to toggle source
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