module RDF::Raptor::FFI

A foreign-function interface (FFI) to ‘libraptor`.

@see librdf.org/raptor/api/ @see librdf.org/raptor/libraptor.html

Constants

ENGINE

Public Instance Methods

version() click to toggle source

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

@example

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

@return [String] an “x.y.z” version string

# File lib/rdf/raptor/ffi.rb, line 24
def version
  V2.raptor_version_string.freeze
end