Module: SportDb::Boot
- Defined in:
- lib/sportdb/config/version.rb
Constant Summary collapse
- MAJOR =
note: use a different module than Config to avoid confusion with Configuration/config etc.!!!!
maybe rename later gem itself to sportdb-boot - why? why not?
0
- MINOR =
todo: namespace inside version or something - why? why not??
3
- PATCH =
2
- 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
18 19 20 |
# File 'lib/sportdb/config/version.rb', line 18 def self. "sportdb-config/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]" end |
.data_dir ⇒ Object
rename to config_dir - why? why not?
26 27 28 |
# File 'lib/sportdb/config/version.rb', line 26 def self.data_dir ## rename to config_dir - why? why not? "#{root}/config" end |
.root ⇒ Object
22 23 24 |
# File 'lib/sportdb/config/version.rb', line 22 def self.root File.( File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) ) end |
.version ⇒ Object
14 15 16 |
# File 'lib/sportdb/config/version.rb', line 14 def self.version VERSION end |