class RubyPython::RubyPyClass

A class to wrap Python classes.

Public Instance Methods

new(*args) click to toggle source

Create an instance of the wrapped class. This is a workaround for the fact that Python classes are meant to be callable.

# File lib/rubypython/rubypyproxy.rb, line 302
def new(*args)
  pReturn =  _method_call(@pObject, args, nil)
  RubyPyInstance.new pReturn
end