Module: Preproc
- Defined in:
- lib/preproc/version.rb
Constant Summary collapse
- MAJOR =
todo: namespace inside version or something - why? why not??
0- MINOR =
0- PATCH =
1- VERSION =
[MAJOR,MINOR,PATCH].join('.')
Class Method Summary collapse
-
.banner ⇒ Object
version string for generator meta tag (includes ruby version).
- .root ⇒ Object
- .version ⇒ Object
Class Method Details
.banner ⇒ Object
version string for generator meta tag (includes ruby version)
15 16 17 |
# File 'lib/preproc/version.rb', line 15 def self. "preproc/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]" end |
.root ⇒ Object
19 20 21 |
# File 'lib/preproc/version.rb', line 19 def self.root "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}" end |
.version ⇒ Object
10 11 12 |
# File 'lib/preproc/version.rb', line 10 def self.version VERSION end |