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

Version Path
json-ld-preloaded-2.2.2 lib/json/ld/preloaded/version.rb
json-ld-preloaded-2.2.1 lib/json/ld/preloaded/version.rb
json-ld-preloaded-2.2.0 lib/json/ld/preloaded/version.rb
json-ld-preloaded-2.1.0 lib/json/ld/preloaded/version.rb
json-ld-preloaded-1.1.0 lib/json/ld/preloaded/version.rb
json-ld-preloaded-1.0.0 lib/json/ld/preloaded/version.rb
json-ld-preloaded-0.0.2 lib/json/ld/preloaded/version.rb