Sha256: ac16bdeb60c01a2b09108a4a077fea98a66cf0396c005efe6b5179dc25c3781c
Contents?: true
Size: 455 Bytes
Versions: 47
Compression:
Stored size: 455 Bytes
Contents
module RDF module VERSION FILE = File.expand_path('../../../VERSION', __FILE__) MAJOR, MINOR, TINY, EXTRA = File.read(FILE).chomp.split('.') STRING = [MAJOR, MINOR, TINY, EXTRA].compact.join('.').freeze ## # @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
47 entries across 47 versions & 1 rubygems