lib/pycall/utils.rb in pycall-0.1.0.alpha.20170224b vs lib/pycall/utils.rb in pycall-0.1.0.alpha.20170224

- old
+ new

@@ -1,12 +1,6 @@ module PyCall module Utils - def dir(pyobj) - value = LibPython.PyObject_Dir(pyobj) - return value.to_ruby unless value.null? - raise PyError.fetch - end - def int(pyobj) @int ||= PyCall.eval('int') @int.(pyobj) end