Returns a new instance of Context.
18 19 20 21 22 23
# File 'lib/context.rb', line 18 def initialize @pointer = Api.proj_context_create ObjectSpace.define_finalizer(self, self.class.finalize(@pointer)) set_database_path end