Module: WhatsOn
- Defined in:
- lib/whatson/tool.rb,
lib/whatson/pycon.rb,
lib/whatson/version.rb,
lib/whatson/whatson.rb,
lib/whatson/beerfest.rb,
lib/whatson/football.rb,
lib/whatson/rubyconf.rb
Defined Under Namespace
Classes: BeerFest, Football, PyCon, RubyConf, Tool, WhatsOn
Constant Summary
collapse
- MAJOR =
todo: namespace inside version or something - why? why not??
2023
- MINOR =
0
- PATCH =
0
- VERSION =
[MAJOR,MINOR,PATCH].join('.')
Class Method Summary
collapse
Class Method Details
.banner ⇒ Object
13
14
15
|
# File 'lib/whatson/version.rb', line 13
def self.banner
"whatson/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}] in (#{root})"
end
|
.root ⇒ Object
17
18
19
|
# File 'lib/whatson/version.rb', line 17
def self.root
File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )
end
|
.version ⇒ Object
9
10
11
|
# File 'lib/whatson/version.rb', line 9
def self.version
VERSION
end
|