# File lib/gir_ffi/module_base.rb, line 9 def const_missing classname load_class(classname) || super end
# File lib/gir_ffi/module_base.rb, line 22 def gir_ffi_builder self.const_get :GIR_FFI_BUILDER end
@deprecated Compatibility function. Remove in 0.7.0.
# File lib/gir_ffi/module_base.rb, line 14 def load_class classname setup_class classname end
# File lib/gir_ffi/module_base.rb, line 3 def method_missing method, *arguments, &block result = setup_method method.to_s return super unless result self.send method, *arguments, &block end
# File lib/gir_ffi/module_base.rb, line 18 def setup_class classname gir_ffi_builder.build_namespaced_class classname.to_s end
# File lib/gir_ffi/module_base.rb, line 26 def setup_method name gir_ffi_builder.setup_method name end