Module: PlutoUpdate
- Defined in:
- lib/pluto/update/version.rb
Constant Summary collapse
Class Method Summary collapse
Class Method Details
.banner ⇒ Object
15 16 17 18 |
# File 'lib/pluto/update/version.rb', line 15 def self. ### todo: add RUBY_PATCHLEVEL or RUBY_PATCH_LEVEL e.g. -p124 "pluto-update/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]" end |
.root ⇒ Object
20 21 22 |
# File 'lib/pluto/update/version.rb', line 20 def self.root "#{File.( File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) )}" end |
.version ⇒ Object
11 12 13 |
# File 'lib/pluto/update/version.rb', line 11 def self.version VERSION end |