Module: SaferBool

Defined in:
lib/safebool/version.rb

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details



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

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

.rootObject



24
25
26
# File 'lib/safebool/version.rb', line 24

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

.versionObject



16
17
18
# File 'lib/safebool/version.rb', line 16

def self.version
  VERSION
end