Go to Redland Home - Language Bindings Home - Ruby API Home
Class Redland::World
In: rdf/redland.rb
Parent: Object

Methods

Attributes

world  [RW]  include Singleton

Public Class methods

[Source]

# File rdf/redland.rb, line 44
    def World.create_finalizer(world)
      proc {|id| "Finalizer on #{id}"
#        log_final.info "closing world"
        #Redland::librdf_free_world world
      }
    end

Create new RDF World object (constructor)

[Source]

# File rdf/redland.rb, line 38
    def initialize()
      @world = Redland::librdf_new_world()
      Redland::librdf_world_open(@world)
      ObjectSpace.define_finalizer(self,World.create_finalizer(@world))
    end

Go to Redland Home - Language Bindings Home - Ruby API Home

Copyright 2004-2005 Dave Beckett, Institute for Learning and Research Technology, University of Bristol