Returns a new instance of Context.
33 34 35 36 37 38
# File 'lib/proj/context.rb', line 33 def initialize @pointer = Api.proj_context_create ObjectSpace.define_finalizer(self, self.class.finalize(@pointer)) @database = Database.new(self) end