Module: SportDb::Module::Catalogs
- Defined in:
- lib/sportdb/catalogs/version.rb
Constant Summary collapse
- MAJOR =
todo: namespace inside version or something - why? why not??
1
- MINOR =
2
- PATCH =
5
- VERSION =
[MAJOR,MINOR,PATCH].join('.')
Class Method Summary collapse
Class Method Details
.banner ⇒ Object
15 16 17 |
# File 'lib/sportdb/catalogs/version.rb', line 15 def self. "sportdb-catalogs/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}] in (#{root})" end |
.root ⇒ Object
19 20 21 |
# File 'lib/sportdb/catalogs/version.rb', line 19 def self.root File.( File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) ) end |
.version ⇒ Object
11 12 13 |
# File 'lib/sportdb/catalogs/version.rb', line 11 def self.version VERSION end |