Implements method creation for types such as, :union, :struct, :object, :interface.
# File lib/gir_ffi/builder/type/with_methods.rb, line 20 def has_instance_method method !!instance_method_introspection_data(method) end
# File lib/gir_ffi/builder/type/with_methods.rb, line 15 def setup_instance_method method go = instance_method_introspection_data method attach_and_define_method method, go, build_class end
# File lib/gir_ffi/builder/type/with_methods.rb, line 10 def setup_method method go = method_introspection_data method attach_and_define_method method, go, meta_class end