Sha256: 0d909c29f9891f2dc0f4ce2eec53e5f7b17d13712633f99dc04dd216154ca0d8
Contents?: true
Size: 463 Bytes
Versions: 43
Compression:
Stored size: 463 Bytes
Contents
module RDF::N3::VERSION VERSION_FILE = File.join(File.expand_path(File.dirname(__FILE__)), "..", "..", "..", "VERSION") MAJOR, MINOR, TINY, EXTRA = File.read(VERSION_FILE).chop.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
Version data entries
43 entries across 43 versions & 2 rubygems