Module: SportDbCli
- Defined in:
- lib/sportdb/cli/version.rb
Overview
todo/fix: yes, rename to SportDbTool
Constant Summary collapse
- MAJOR =
todo/check - rename to SportDbTool or SportDbCommands or SportDbShell ??
2
- MINOR =
todo: namespace inside version or something - why? why not??
3
- PATCH =
2
- VERSION =
[MAJOR,MINOR,PATCH].join('.')
Class Method Summary collapse
Class Method Details
.banner ⇒ Object
17 18 19 |
# File 'lib/sportdb/cli/version.rb', line 17 def self. "sportdb/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]" end |
.root ⇒ Object
21 22 23 |
# File 'lib/sportdb/cli/version.rb', line 21 def self.root "#{File.( File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) )}" end |
.version ⇒ Object
13 14 15 |
# File 'lib/sportdb/cli/version.rb', line 13 def self.version VERSION end |