Sha256: 9990115957e8ed1b79032803fc9ba32018e9fda79c9cfa021834f746d9d0805d
Contents?: true
Size: 470 Bytes
Versions: 4
Compression:
Stored size: 470 Bytes
Contents
module RDF::Normalize::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
4 entries across 4 versions & 1 rubygems