Class: Hash

Inherits:
Object show all
Defined in:
lib/pybind/core_ext/basic.rb

Instance Method Summary collapse

Instance Method Details

#to_pythonObject



57
58
59
# File 'lib/pybind/core_ext/basic.rb', line 57

def to_python
  PyBind::PyDict.new(self).to_python_struct
end