Module: Fivefish

Defined in:
lib/fivefish.rb

Overview

:title: Fivefish RDoc

Toplevel namespace for Fivefish. The main goods are in RDoc::Generator::Fivefish.

Constant Summary collapse

VERSION =

Library version constant

'0.3.0'
REVISION =

Version-control revision constant

%q$Revision: c8a922361cbe $
PROJECT_URL =

Fivefish project URL

'http://deveiate.org/fivefish.html'

Class Method Summary collapse

Class Method Details

.version_string(include_buildnum = false) ⇒ Object

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



23
24
25
26
27
# File 'lib/fivefish.rb', line 23

def self::version_string( include_buildnum=false )
	vstring = "Fivefish RDoc %s" % [ VERSION ]
	vstring << " (build %s)" % [ REVISION[/: ([[:xdigit:]]+)/, 1] || '0' ] if include_buildnum
	return vstring
end