Module: ECCLite

Defined in:
lib/elliptic-lite/version.rb

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details



12
13
14
# File 'lib/elliptic-lite/version.rb', line 12

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

.rootObject



16
17
18
# File 'lib/elliptic-lite/version.rb', line 16

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

.versionObject



8
9
10
# File 'lib/elliptic-lite/version.rb', line 8

def self.version
  VERSION
end