Module: JSON::LD::Preloaded::VERSION

Defined in:
lib/json/ld/preloaded/version.rb

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details

.to_aArray(Integer, Integer, Integer)

Returns:

  • (Array(Integer, Integer, Integer))


19
# File 'lib/json/ld/preloaded/version.rb', line 19

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

.to_sString

Returns:

  • (String)


11
# File 'lib/json/ld/preloaded/version.rb', line 11

def self.to_s()   STRING end

.to_strString

Returns:

  • (String)


15
# File 'lib/json/ld/preloaded/version.rb', line 15

def self.to_str() STRING end