Class: GirFFI::Builders::NullConvertor
- Inherits:
-
Object
- Object
- GirFFI::Builders::NullConvertor
- Defined in:
- lib/gir_ffi/builders/null_convertor.rb
Overview
Argument convertor that does nothing
Instance Method Summary collapse
- #conversion ⇒ Object
-
#initialize(argument_name) ⇒ NullConvertor
constructor
A new instance of NullConvertor.
Constructor Details
#initialize(argument_name) ⇒ NullConvertor
Returns a new instance of NullConvertor.
7 8 9 |
# File 'lib/gir_ffi/builders/null_convertor.rb', line 7 def initialize(argument_name) @argument_name = argument_name end |
Instance Method Details
#conversion ⇒ Object
11 12 13 |
# File 'lib/gir_ffi/builders/null_convertor.rb', line 11 def conversion @argument_name end |