Module: ConfUtils
- Defined in:
- lib/props/env.rb,
lib/props/props.rb,
lib/props/version.rb
Defined Under Namespace
Constant Summary collapse
- MAJOR =
todo: namespace inside version or something - why? why not??
1
- MINOR =
2
- PATCH =
0
- VERSION =
[MAJOR,MINOR,PATCH].join('.')
Class Method Summary collapse
Class Method Details
.banner ⇒ Object
14 15 16 17 |
# File 'lib/props/version.rb', line 14 def self. # todo: add RUBY_PATCHLEVEL or RUBY_PATCH_LEVEL?? "confutils/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]" end |
.root ⇒ Object
19 20 21 |
# File 'lib/props/version.rb', line 19 def self.root "#{File.( File.dirname(File.dirname(File.dirname(__FILE__))) )}" end |
.version ⇒ Object
10 11 12 |
# File 'lib/props/version.rb', line 10 def self.version VERSION end |