Module: RDF::Raptor::FFI

Overview

A foreign-function interface (FFI) to libraptor.

Defined Under Namespace

Modules: V1, V2 Classes: Reader, Writer

Constant Summary collapse

ENGINE =
:ffi

Instance Method Summary collapse

Instance Method Details

#versionString

Returns the installed libraptor version number, or nil if libraptor is not available.

Examples:

RDF::Raptor.version  #=> "1.4.21"

Returns:

  • (String)

    an “x.y.z” version string



24
25
26
# File 'lib/rdf/raptor/ffi.rb', line 24

def version
  V2.raptor_version_string.freeze
end