Namespace for Python in Ruby?

May 15, 2009 at 7:12 PM

I'm trying the variations shown in Tomáš Matoušek’s blog:

http://blog.tomasm.net/2009/04/15/python-says-hello-to-ruby/

How do you access a Python class from inside Ruby? What do you require/include? Is there documentation regarding these aspects of the DLR?

Thanks for any pointers!

-Doug

 

May 21, 2009 at 10:47 AM

Talking to myself: the solution was provided by Tomáš on his blog:

http://blog.tomasm.net/2009/04/15/python-says-hello-to-ruby/#comment-14

The answer is that, in Ruby, you don't have to require/include anything. But there are (currently) issues about how the name is available (eg, CamelCase gets mapped to camel_case).