Module: PlutoCli

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

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details



14
15
16
17
# File 'lib/pluto/cli/version.rb', line 14

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

.rootObject



19
20
21
# File 'lib/pluto/cli/version.rb', line 19

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

.versionObject



10
11
12
# File 'lib/pluto/cli/version.rb', line 10

def self.version
  VERSION
end