class PyBind::PyType

Public Instance Methods

to_s() click to toggle source
Calls superclass method PyBind::PyObjectWrapper#to_s
# File lib/pybind/types/basic.rb, line 6
def to_s
  return super unless has_attribute?('__name__')
  get_attribute('__name__')
end