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