Module: Jasper::API

Defined in:
lib/jasper/api.rb,
lib/jasper/api/engine.rb,
lib/jasper/api/version.rb,
lib/jasper/api/gem_version.rb

Defined Under Namespace

Modules: VERSION Classes: Engine

Class Method Summary collapse

Class Method Details

.gem_versionObject

Returns the version of the currently loaded Jasper as a Gem::Version



5
6
7
# File 'lib/jasper/api/gem_version.rb', line 5

def self.gem_version
  Gem::Version.new VERSION::STRING
end

.versionObject

Returns the version of the currently loaded Jasper as a string.



7
8
9
# File 'lib/jasper/api/version.rb', line 7

def self.version
  VERSION::STRING
end