pycall.rb
pycall.rb copied to clipboard
Introduce Ruby's Array and Hash wrappers in Python
Now pycall.rb converts Ruby's Array and Hash to Python's list and dict, respectively. For reducing conversion costs, we need to introduce wrappers of Array and Hash in Python-side. These wrapper classes should be subclasses of list and dict, respectively.