Method: Proj::PjObjects#initialize
- Defined in:
- lib/proj/pj_objects.rb
#initialize(pointer, context) ⇒ PjObjects
Returns a new instance of PjObjects.
11 12 13 14 15 |
# File 'lib/proj/pj_objects.rb', line 11 def initialize(pointer, context) @pointer = pointer @context = context ObjectSpace.define_finalizer(self, self.class.finalize(@pointer)) end |