Sha256: 094fb5cc74c99b2b6c9bc12c52a2a322b67f6b52c8f2410fe9dd1a142ef904f0
Contents?: true
Size: 464 Bytes
Versions: 19
Compression:
Stored size: 464 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).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
19 entries across 19 versions & 1 rubygems