Module: Pragmas

Defined in:
lib/pragmas/version.rb

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details



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

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

.rootObject



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

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

.versionObject



12
13
14
# File 'lib/pragmas/version.rb', line 12

def self.version
  VERSION
end