Sha256: bd9eec43f88d8444d31821d41ed265e08cee7ac999afc14c59368eb50074217f
Contents?: true
Size: 493 Bytes
Versions: 11
Compression:
Stored size: 493 Bytes
Contents
module SPARQL module VERSION VERSION_FILE = File.join(File.expand_path(File.dirname(__FILE__)), "..", "..", "VERSION") MAJOR, MINOR, TINY, EXTRA = File.read(VERSION_FILE).chomp.split(".") STRING = [MAJOR, MINOR, TINY, EXTRA].compact.join('.') ## # @return [String] def self.to_s() STRING end ## # @return [String] def self.to_str() STRING end ## # @return [Array(Integer, Integer, Integer)] def self.to_a() STRING.split(".") end end end
Version data entries
11 entries across 11 versions & 1 rubygems