Class: FFI::Generator::Function::Argument

Inherits:
Type
  • Object
show all
Defined in:
lib/generator/generator.rb

Instance Attribute Summary

Attributes inherited from Node

#symname

Instance Method Summary collapse

Methods inherited from Type

#initialize

Methods inherited from Node

#get_attr, #initialize

Constructor Details

This class inherits a constructor from FFI::Generator::Type

Instance Method Details

#to_sObject



239
240
241
# File 'lib/generator/generator.rb', line 239

def to_s
  get_attr('type') == 'void' ? nil : super
end