Sha256: 094fb5cc74c99b2b6c9bc12c52a2a322b67f6b52c8f2410fe9dd1a142ef904f0

Contents?: true

Size: 464 Bytes

Versions: 19

Compression:

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

19 entries across 19 versions & 1 rubygems

Version Path
json-ld-1.0.1 lib/json/ld/version.rb
json-ld-1.0.0 lib/json/ld/version.rb
json-ld-0.9.1 lib/json/ld/version.rb
json-ld-0.9.0 lib/json/ld/version.rb
json-ld-0.3.2 lib/json/ld/version.rb
json-ld-0.3.1 lib/json/ld/version.rb
json-ld-0.3.0 lib/json/ld/version.rb
json-ld-0.1.6.1 lib/json/ld/version.rb
json-ld-0.1.6 lib/json/ld/version.rb
json-ld-0.1.5.2 lib/json/ld/version.rb
json-ld-0.1.5.1 lib/json/ld/version.rb
json-ld-0.1.5 lib/json/ld/version.rb
json-ld-0.1.4.2 lib/json/ld/version.rb
json-ld-0.1.4.1 lib/json/ld/version.rb
json-ld-0.1.4 lib/json/ld/version.rb
json-ld-0.1.3 lib/json/ld/version.rb
json-ld-0.1.2 lib/json/ld/version.rb
json-ld-0.1.0 lib/json/ld/version.rb
json-ld-0.0.8 lib/json/ld/version.rb