class PyCall::LibPython::PyObjectStruct
Public Class Methods
null()
click to toggle source
# File lib/pycall/libpython/pyobject_struct.rb, line 15 def self.null new(FFI::Pointer::NULL) end
Public Instance Methods
kind_of?(klass)
click to toggle source
Calls superclass method
# File lib/pycall/libpython/pyobject_struct.rb, line 23 def kind_of?(klass) klass = klass.__pyobj__ if klass.kind_of? PyObjectWrapper return super unless klass.kind_of? PyObjectStruct PyCall::Types.pyisinstance(self, klass) end
py_none?()
click to toggle source
# File lib/pycall/libpython/pyobject_struct.rb, line 19 def py_none? PyCall.none?(self) end