Sha256: 29b6cbedf1fc0705c5e2372f830cc416a99adead7d7e07921425095ba0d9693e
Contents?: true
Size: 463 Bytes
Versions: 11
Compression:
Stored size: 463 Bytes
Contents
module RDF module VERSION VERSION_FILE = File.expand_path("../../../VERSION", __FILE__) 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() [MAJOR, MINOR, TINY] end end end
Version data entries
11 entries across 11 versions & 2 rubygems