Module: SportDb::Module::Models
- Defined in:
- lib/sportdb/models/version.rb
Constant Summary collapse
Class Method Summary collapse
Class Method Details
.banner ⇒ Object
13 14 15 |
# File 'lib/sportdb/models/version.rb', line 13 def self. "sportdb-models/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}] in (#{root})" end |
.root ⇒ Object
17 18 19 |
# File 'lib/sportdb/models/version.rb', line 17 def self.root File.( File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) ) end |
.version ⇒ Object
9 10 11 |
# File 'lib/sportdb/models/version.rb', line 9 def self.version VERSION end |