Module: FootballDb::Clubs
- Defined in:
- lib/footballdb/clubs/version.rb
Constant Summary collapse
- MAJOR =
todo: namespace inside version or something - why? why not??
2020
- MINOR =
5
- PATCH =
10
- VERSION =
[MAJOR,MINOR,PATCH].join('.')
Class Method Summary collapse
- .banner ⇒ Object
-
.data_dir ⇒ Object
rename to config_dir - why? why not?.
- .root ⇒ Object
- .version ⇒ Object
Class Method Details
.banner ⇒ Object
16 17 18 |
# File 'lib/footballdb/clubs/version.rb', line 16 def self. "footballdb-clubs/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]" end |
.data_dir ⇒ Object
rename to config_dir - why? why not?
24 25 26 |
# File 'lib/footballdb/clubs/version.rb', line 24 def self.data_dir ## rename to config_dir - why? why not? "#{root}/config" end |
.root ⇒ Object
20 21 22 |
# File 'lib/footballdb/clubs/version.rb', line 20 def self.root File.( File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) ) end |
.version ⇒ Object
12 13 14 |
# File 'lib/footballdb/clubs/version.rb', line 12 def self.version VERSION end |