Class: GirFFI::Builders::NullConvertor

Inherits:
Object
  • Object
show all
Defined in:
lib/gir_ffi/builders/null_convertor.rb

Overview

Argument convertor that does nothing

Instance Method Summary collapse

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

#conversionObject



11
12
13
# File 'lib/gir_ffi/builders/null_convertor.rb', line 11

def conversion
  @argument_name
end