Sha256: 6a7f8b9f0fd8aac1046be1c2d2f5f5dd7859815806d8689311e44253fd025788
Contents?: true
Size: 473 Bytes
Versions: 6
Compression:
Stored size: 473 Bytes
Contents
module RDF; module JSON 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() STRING.split(".") end end end; end
Version data entries
6 entries across 6 versions & 1 rubygems