Sha256: f31c01f071596e51a4aee32543d42173ca218c747196b633fde1d6cf12259db4

Contents?: true

Size: 465 Bytes

Versions: 31

Compression:

Stored size: 465 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).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

31 entries across 31 versions & 1 rubygems

Version Path
json-ld-2.0.0.1 lib/json/ld/version.rb
json-ld-2.0.0 lib/json/ld/version.rb
json-ld-1.99.2 lib/json/ld/version.rb
json-ld-2.0.0.beta3 lib/json/ld/version.rb
json-ld-1.99.1 lib/json/ld/version.rb
json-ld-2.0.0.beta2 lib/json/ld/version.rb
json-ld-2.0.0.beta1 lib/json/ld/version.rb
json-ld-1.1.11.1 lib/json/ld/version.rb
json-ld-1.99.0 lib/json/ld/version.rb
json-ld-1.1.11 lib/json/ld/version.rb
json-ld-1.1.10 lib/json/ld/version.rb
json-ld-1.1.9 lib/json/ld/version.rb
json-ld-1.1.8 lib/json/ld/version.rb
json-ld-1.1.7 lib/json/ld/version.rb
json-ld-1.1.6.1 lib/json/ld/version.rb
json-ld-1.1.6 lib/json/ld/version.rb
json-ld-1.1.5 lib/json/ld/version.rb
json-ld-1.1.4 lib/json/ld/version.rb
json-ld-1.1.3.1 lib/json/ld/version.rb
json-ld-1.1.3 lib/json/ld/version.rb