Module: MonoCore

Defined in:
lib/mono/version.rb

Overview

note: use a different module/namespace

for the gem version info e.g. MonoCore vs Mono

Constant Summary collapse

MAJOR =

note: move root to its own namespace to avoid

conflict with Mono.root!!!!
1
MINOR =

todo: namespace inside version or something - why? why not??

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

Class Method Summary collapse

Class Method Details



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

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

.rootObject



21
22
23
# File 'lib/mono/version.rb', line 21

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

.versionObject



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

def self.version
  VERSION
end