Sha256: bbfd73484a4db737178f261f5a39187a9165878ea97954a3f53d7f4cef242084
Contents?: true
Size: 504 Bytes
Versions: 27
Compression:
Stored size: 504 Bytes
Contents
# -*- encoding: utf-8 -*- # frozen_string_literal: true module JSON::LD::Preloaded::VERSION VERSION_FILE = File.expand_path("../../../../../VERSION", __FILE__) 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
27 entries across 27 versions & 1 rubygems