class RDF::Raptor::FFI::V2::World
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/rdf/raptor/ffi/v2/world.rb, line 5 def initialize() ptr = V2.raptor_new_world_internal(V2.raptor_version_decimal) super(ptr, self.class.method(:release)) end
release(ptr)
click to toggle source
Releases ‘libraptor` memory associated with this structure.
@param [FFI::Pointer] ptr @return [void]
# File lib/rdf/raptor/ffi/v2/world.rb, line 15 def self.release(ptr) V2.raptor_free_world(ptr) end