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-3.3.1 lib/json/ld/preloaded/version.rb
json-ld-preloaded-3.3.0 lib/json/ld/preloaded/version.rb
json-ld-preloaded-3.2.2 lib/json/ld/preloaded/version.rb
json-ld-preloaded-3.2.1 lib/json/ld/preloaded/version.rb
json-ld-preloaded-3.2.0 lib/json/ld/preloaded/version.rb
json-ld-preloaded-3.1.6 lib/json/ld/preloaded/version.rb
json-ld-preloaded-3.1.5 lib/json/ld/preloaded/version.rb
json-ld-preloaded-3.1.4 lib/json/ld/preloaded/version.rb
json-ld-preloaded-3.1.3 lib/json/ld/preloaded/version.rb
json-ld-preloaded-3.1.2 lib/json/ld/preloaded/version.rb
json-ld-preloaded-3.1.1 lib/json/ld/preloaded/version.rb
json-ld-preloaded-3.1.0 lib/json/ld/preloaded/version.rb
json-ld-preloaded-3.0.6 lib/json/ld/preloaded/version.rb
json-ld-preloaded-3.0.5 lib/json/ld/preloaded/version.rb
json-ld-preloaded-3.0.4 lib/json/ld/preloaded/version.rb
json-ld-preloaded-3.0.3 lib/json/ld/preloaded/version.rb
json-ld-preloaded-3.0.2 lib/json/ld/preloaded/version.rb
json-ld-preloaded-3.0.1 lib/json/ld/preloaded/version.rb
json-ld-preloaded-3.0.0 lib/json/ld/preloaded/version.rb
json-ld-preloaded-2.2.3 lib/json/ld/preloaded/version.rb