Sha256: b7cae33c20fd8a204caccc9a7e5c7e2c1bd608e5db8ab7bce9eaa8ed59ddb88e
Contents?: true
Size: 540 Bytes
Versions: 6
Compression:
Stored size: 540 Bytes
Contents
module GirFFI module ModuleBase def method_missing method, *arguments, &block result = setup_method method.to_s return super unless result self.send method, *arguments, &block end def const_missing classname load_class(classname) || super end def load_class classname gir_ffi_builder.build_namespaced_class classname.to_s end def gir_ffi_builder self.const_get :GIR_FFI_BUILDER end def setup_method name gir_ffi_builder.setup_method name end end end
Version data entries
6 entries across 6 versions & 1 rubygems