class PyCall::Set
Public Class Methods
new(pyobj)
click to toggle source
Calls superclass method
# File lib/pycall/set.rb, line 5 def initialize(pyobj) super(pyobj) end
Public Instance Methods
include?(obj)
click to toggle source
# File lib/pycall/set.rb, line 15 def include?(obj) 1 == LibPython.PySet_Contains(__pyobj__, Conversions.from_ruby(obj)) end
size()
click to toggle source
# File lib/pycall/set.rb, line 9 def size LibPython.PySet_Size(__pyobj__) end
Also aliased as: length