Sha256: 183004a30b44701fb4bddfff9ae7fe0e891bdcca66bca95c2b20eb3359c4ab2d
Contents?: true
Size: 963 Bytes
Versions: 2
Compression:
Stored size: 963 Bytes
Contents
class RubyPythonBridge::RubyPyObject def inspect "<#{self.class}: #{__name}>" end end # A wrapper class for Python Modules. # # Methods calls are delegated to the equivalent Python methods/functions. Attribute references # return either the equivalent attribute converted to a native Ruby type, or wrapped reference # to a Python object. RubyPyModule instances should be created through the use of RubyPython.import. class RubyPythonBridge::RubyPyModule end # A wrapper class for Python classes and instances. # # This allows objects which cannot easily be converted to native Ruby types to still be accessible # from within ruby. Most users need not concern themselves with anything about this class except # its existence. class RubyPythonBridge::RubyPyClass end # A wrapper class for Python functions and methods. # # This is used internally to aid RubyPyClass in delegating method calls. class RubyPythonBridge::RubyPyFunction end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubypython-0.2.0 | lib/rubypython/wrapper_extensions.rb |
rubypython-0.2.1 | lib/rubypython/wrapper_extensions.rb |