Module: Mono::Module::Monofile

Defined in:
lib/monofile/version.rb

Constant Summary collapse

MAJOR =

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

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

Class Method Summary collapse

Class Method Details



15
16
17
# File 'lib/monofile/version.rb', line 15

def self.banner
  "monofile/#{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!!!!



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

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

.versionObject



11
12
13
# File 'lib/monofile/version.rb', line 11

def self.version
  VERSION
end