Class: GirFFI::ReturnValueInfo
- Inherits:
-
Object
- Object
- GirFFI::ReturnValueInfo
- Defined in:
- lib/gir_ffi/return_value_info.rb
Overview
Represents a return value with the same interface as IArgumentInfo
Instance Attribute Summary collapse
-
#argument_type ⇒ Object
readonly
Returns the value of attribute argument_type.
-
#ownership_transfer ⇒ Object
readonly
Returns the value of attribute ownership_transfer.
Instance Method Summary collapse
- #direction ⇒ Object
-
#initialize(type, ownership_transfer, skip) ⇒ ReturnValueInfo
constructor
A new instance of ReturnValueInfo.
- #name ⇒ Object
- #skip? ⇒ Boolean
Constructor Details
#initialize(type, ownership_transfer, skip) ⇒ ReturnValueInfo
Returns a new instance of ReturnValueInfo.
8 9 10 11 12 |
# File 'lib/gir_ffi/return_value_info.rb', line 8 def initialize(type, ownership_transfer, skip) @argument_type = type @ownership_transfer = ownership_transfer @skip = skip end |
Instance Attribute Details
#argument_type ⇒ Object (readonly)
Returns the value of attribute argument_type.
5 6 7 |
# File 'lib/gir_ffi/return_value_info.rb', line 5 def argument_type @argument_type end |
#ownership_transfer ⇒ Object (readonly)
Returns the value of attribute ownership_transfer.
6 7 8 |
# File 'lib/gir_ffi/return_value_info.rb', line 6 def ownership_transfer @ownership_transfer end |
Instance Method Details
#direction ⇒ Object
18 19 20 |
# File 'lib/gir_ffi/return_value_info.rb', line 18 def direction :return end |
#name ⇒ Object
22 23 24 |
# File 'lib/gir_ffi/return_value_info.rb', line 22 def name nil end |