Sha256: 190599023df8c67ed7b6489058a93e66cd8afc3a72702c6997f5d0a13de23d8e
Contents?: true
Size: 496 Bytes
Versions: 54
Compression:
Stored size: 496 Bytes
Contents
module RDF::Vocab::VERSION # frozen_string_literal: true 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
54 entries across 54 versions & 1 rubygems