Module: RDF::JSON::VERSION

Defined in:
lib/rdf/json/version.rb

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details

.to_aArray(Integer, Integer, Integer)

Returns:

  • (Array(Integer, Integer, Integer))


17
# File 'lib/rdf/json/version.rb', line 17

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

.to_sString

Returns:

  • (String)


9
# File 'lib/rdf/json/version.rb', line 9

def self.to_s() STRING end

.to_strString

Returns:

  • (String)


13
# File 'lib/rdf/json/version.rb', line 13

def self.to_str() STRING end