Module: Mono::Module::Tool

Defined in:
lib/mono/version.rb

Overview

todo/check: rename to MonoMeta, MonoModule or such - why? why not?

Constant Summary collapse

MAJOR =

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

1
MINOR =
1
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

note: move root to its own namespace to avoid

conflict with Mono.root!!!!


23
24
25
# File 'lib/mono/version.rb', line 23

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