Sha256: f31c01f071596e51a4aee32543d42173ca218c747196b633fde1d6cf12259db4
Contents?: true
Size: 465 Bytes
Versions: 31
Compression:
Stored size: 465 Bytes
Contents
module JSON::LD::VERSION VERSION_FILE = File.join(File.expand_path(File.dirname(__FILE__)), "..", "..", "..", "VERSION") MAJOR, MINOR, TINY, EXTRA = File.read(VERSION_FILE).chomp.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
31 entries across 31 versions & 1 rubygems