Sha256: 7eb0f720d690f3e028e676ce280b6fa2d6bbf19bda40ad8ccf103aa584042712
Contents?: true
Size: 496 Bytes
Versions: 24
Compression:
Stored size: 496 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() [MAJOR, MINOR, TINY] end end end
Version data entries
24 entries across 24 versions & 1 rubygems