We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a345d63 commit de4b644Copy full SHA for de4b644
lib/rice/native_registry.rb
@@ -8,8 +8,8 @@ def native_methods(klass)
8
self.native_by_kind(klass, [Rice::NativeKind::Method])
9
end
10
11
- def native_functions(klass)
12
- self.native_by_kind(klass, [Rice::NativeKind::Function])
+ def native_singleton_functions(klass)
+ self.native_by_kind(klass.singleton_class, [Rice::NativeKind::Function])
13
14
15
def native_by_kind(klass, kinds)
0 commit comments