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.
Instance Method Summary collapse
- #direction ⇒ Object
-
#initialize(type, skip = false) ⇒ ReturnValueInfo
constructor
A new instance of ReturnValueInfo.
- #name ⇒ Object
- #skip? ⇒ Boolean
Constructor Details
#initialize(type, skip = false) ⇒ ReturnValueInfo
Returns a new instance of ReturnValueInfo.
6 7 8 9 |
# File 'lib/gir_ffi/return_value_info.rb', line 6 def initialize type, skip = false @argument_type = type @skip = skip end |
Instance Attribute Details
#argument_type ⇒ Object (readonly)
Returns the value of attribute argument_type.
4 5 6 |
# File 'lib/gir_ffi/return_value_info.rb', line 4 def argument_type @argument_type end |
Instance Method Details
#direction ⇒ Object
15 16 17 |
# File 'lib/gir_ffi/return_value_info.rb', line 15 def direction :return end |
#name ⇒ Object
19 20 21 |
# File 'lib/gir_ffi/return_value_info.rb', line 19 def name nil end |
#skip? ⇒ Boolean
11 12 13 |
# File 'lib/gir_ffi/return_value_info.rb', line 11 def skip? @skip end |