mrkn / pycall.rb

Calling Python functions from the Ruby language
MIT License
1.06k stars 75 forks source link

Introduce Ruby's Array and Hash wrappers in Python #64

Open mrkn opened 6 years ago

mrkn commented 6 years ago

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.