Module: PlutoUpdate

Defined in:
lib/pluto/update/version.rb

Constant Summary collapse

MAJOR =
1
MINOR =
6
PATCH =
4
VERSION =
[MAJOR,MINOR,PATCH].join('.')

Class Method Summary collapse

Class Method Details



15
16
17
18
# File 'lib/pluto/update/version.rb', line 15

def self.banner
  ### todo: add RUBY_PATCHLEVEL or RUBY_PATCH_LEVEL  e.g. -p124
  "pluto-update/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
end

.rootObject



20
21
22
# File 'lib/pluto/update/version.rb', line 20

def self.root
  "#{File.expand_path( File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) )}"
end

.versionObject



11
12
13
# File 'lib/pluto/update/version.rb', line 11

def self.version
  VERSION
end