Class: Array

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

Instance Method Summary collapse

Instance Method Details

#to_pythonObject



63
64
65
# File 'lib/pybind/core_ext/basic.rb', line 63

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