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