Module: JSON::LD::VERSION

Defined in:
vendor/bundler/ruby/3.3.0/bundler/gems/json-ld-f1de87658826/lib/json/ld/version.rb

Constant Summary collapse

VERSION_FILE =
File.join(__dir__, "..", "..", "..", "VERSION")
STRING =
[MAJOR, MINOR, TINY, EXTRA].compact.join('.')

Class Method Summary collapse

Class Method Details

.to_aArray(Integer, Integer, Integer)

Returns:



25
26
27
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/json-ld-f1de87658826/lib/json/ld/version.rb', line 25

def self.to_a
  STRING.split(".")
end

.to_sString

Returns:



13
14
15
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/json-ld-f1de87658826/lib/json/ld/version.rb', line 13

def self.to_s
  STRING
end

.to_strString

Returns:



19
20
21
# File 'vendor/bundler/ruby/3.3.0/bundler/gems/json-ld-f1de87658826/lib/json/ld/version.rb', line 19

def self.to_str
  STRING
end