Module: PyBind::Types
- Defined in:
- lib/pybind/types.rb
Class Attribute Summary collapse
-
.pytypes ⇒ Object
readonly
Returns the value of attribute pytypes.
Class Method Summary collapse
Class Attribute Details
.pytypes ⇒ Object (readonly)
Returns the value of attribute pytypes.
4 5 6 |
# File 'lib/pybind/types.rb', line 4 def pytypes @pytypes end |
Class Method Details
.register_type(pytype) ⇒ Object
8 9 10 |
# File 'lib/pybind/types.rb', line 8 def self.register_type(pytype) @pytypes.unshift(pytype) end |