Class: PyCall::Conversions::TypePair
- Inherits:
-
Struct
- Object
- Struct
- PyCall::Conversions::TypePair
- Defined in:
- lib/pycall/conversion.rb
Instance Attribute Summary collapse
-
#pytype ⇒ Object
Returns the value of attribute pytype.
-
#rbtype ⇒ Object
Returns the value of attribute rbtype.
Instance Method Summary collapse
Instance Attribute Details
#pytype ⇒ Object
Returns the value of attribute pytype
5 6 7 |
# File 'lib/pycall/conversion.rb', line 5 def pytype @pytype end |
#rbtype ⇒ Object
Returns the value of attribute rbtype
5 6 7 |
# File 'lib/pycall/conversion.rb', line 5 def rbtype @rbtype end |
Instance Method Details
#to_a ⇒ Object
6 7 8 |
# File 'lib/pycall/conversion.rb', line 6 def to_a [pytype, rbtype] end |