Class: Float

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

Instance Method Summary collapse

Instance Method Details

#to_pythonObject



33
34
35
# File 'lib/pybind/core_ext/basic.rb', line 33

def to_python
  PyBind::LibPython.PyFloat_FromDouble(self)
end