lib/rubypython/wrapper_extensions.rb in rubypython-0.2.1 vs lib/rubypython/wrapper_extensions.rb in rubypython-0.2.2
- old
+ new
@@ -1,8 +1,8 @@
class RubyPythonBridge::RubyPyObject
def inspect
- "<#{self.class}: #{__name}>"
+ "<#{self.class}:#{__name}>"
end
end
# A wrapper class for Python Modules.
@@ -13,11 +13,11 @@
class RubyPythonBridge::RubyPyModule
end
-# A wrapper class for Python classes and instances.
+# A wrapper class for Python classes.
#
# 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
@@ -28,7 +28,12 @@
# A wrapper class for Python functions and methods.
#
# This is used internally to aid RubyPyClass in delegating method calls.
class RubyPythonBridge::RubyPyFunction
+
+end
+
+# A wrapper class for Python instances
+class RubyPythonBridge::RubyPyInstance
end
\ No newline at end of file