Module: Rubysol::Module::Contracts

Defined in:
lib/rubysol/contracts/version.rb

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details



13
14
15
# File 'lib/rubysol/contracts/version.rb', line 13

def self.banner
  "rubysol-contracts/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}] in (#{root})"
end

.rootObject



17
18
19
# File 'lib/rubysol/contracts/version.rb', line 17

def self.root
  File.expand_path( File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) )
end

.versionObject



9
10
11
# File 'lib/rubysol/contracts/version.rb', line 9

def self.version
  VERSION
end