Sha256: 1b0bf3b48f5fa69085bd7f8f2136679762c41cbda2307f0381378a38730f0747
Contents?: true
Size: 307 Bytes
Versions: 21
Compression:
Stored size: 307 Bytes
Contents
module PyCall class Set include PyObjectWrapper def initialize(pyobj) super(pyobj) end def size LibPython.PySet_Size(__pyobj__) end alias length size def include?(obj) 1 == LibPython.PySet_Contains(__pyobj__, Conversions.from_ruby(obj)) end end end
Version data entries
21 entries across 21 versions & 1 rubygems