Module: Gitti
- Defined in:
- lib/gitti/lib.rb,
lib/gitti/version.rb
Defined Under Namespace
Modules: Git
Classes: GitError, GitLib
Constant Summary
collapse
- MAJOR =
todo: namespace inside version or something - why? why not??
0
- MINOR =
1
- PATCH =
0
- VERSION =
[MAJOR,MINOR,PATCH].join('.')
Class Method Summary
collapse
Class Method Details
.banner ⇒ Object
13
14
15
|
# File 'lib/gitti/version.rb', line 13
def self.banner
"gitti/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
end
|
.root ⇒ Object
17
18
19
|
# File 'lib/gitti/version.rb', line 17
def self.root
"#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
end
|
.version ⇒ Object
9
10
11
|
# File 'lib/gitti/version.rb', line 9
def self.version
VERSION
end
|