Module: SaferMath

Defined in:
lib/safemath/version.rb

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details



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

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

.rootObject



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

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

.versionObject



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

def self.version
  VERSION
end