Module: GittiCore

Defined in:
lib/gitti/version.rb

Overview

todo/check: rename GittiBase or GittiMeta or such - why? why not?

Constant Summary collapse

MAJOR =

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

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

Class Method Summary collapse

Class Method Details



18
19
20
# File 'lib/gitti/version.rb', line 18

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

.rootObject



22
23
24
# File 'lib/gitti/version.rb', line 22

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

.versionObject



14
15
16
# File 'lib/gitti/version.rb', line 14

def self.version
  VERSION
end