Module: SlideshowCli

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

Overview

Note: Slideshow.version already used by core, that is, slideshow-models

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details



22
23
24
# File 'lib/slideshow/cli/version.rb', line 22

def self.banner
  "slideshow/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
end

.rootObject



18
19
20
# File 'lib/slideshow/cli/version.rb', line 18

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

.versionObject



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

def self.version
  VERSION
end