Module: Cocos

Defined in:
lib/cocos/version.rb

Constant Summary collapse

MAJOR =

todo: namespace inside version or something - why? why not??

0
MINOR =
4
PATCH =
0
VERSION =
[MAJOR,MINOR,PATCH].join('.')

Class Method Summary collapse

Class Method Details



12
13
14
# File 'lib/cocos/version.rb', line 12

def self.banner
  "cocos/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}] in (#{root})"
end

.rootObject



16
17
18
# File 'lib/cocos/version.rb', line 16

def self.root
  File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__) )))
end

.versionObject



8
9
10
# File 'lib/cocos/version.rb', line 8

def self.version
  VERSION
end