Module: JSON::LD::VERSION

Defined in:
vendor/bundler/ruby/2.4.0/bundler/gems/json-ld-4e9cdb2fc35e/lib/json/ld/version.rb

Constant Summary

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

Class Method Summary collapse

Class Method Details

.to_aArray(Integer, Integer, Integer)

Returns:



19
# File 'vendor/bundler/ruby/2.4.0/bundler/gems/json-ld-4e9cdb2fc35e/lib/json/ld/version.rb', line 19

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

.to_sString

Returns:



11
# File 'vendor/bundler/ruby/2.4.0/bundler/gems/json-ld-4e9cdb2fc35e/lib/json/ld/version.rb', line 11

def self.to_s()   STRING end

.to_strString

Returns:



15
# File 'vendor/bundler/ruby/2.4.0/bundler/gems/json-ld-4e9cdb2fc35e/lib/json/ld/version.rb', line 15

def self.to_str() STRING end