We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b8a21c7 + f49c9e9 commit 8834b2fCopy full SHA for 8834b2f
1 file changed
core/src/main/java/org/jruby/RubyModule.java
@@ -989,7 +989,7 @@ String anonymousMetaNameWithIdentifier(ThreadContext context) {
989
return metaClass.getRealClass().getName(context) + ":0x" + Integer.toHexString(System.identityHashCode(this));
990
}
991
992
- @JRubyMethod(name = "refine", reads = SCOPE)
+ @JRubyMethod(name = "refine", visibility = PRIVATE, reads = SCOPE)
993
public IRubyObject refine(ThreadContext context, IRubyObject klass, Block block) {
994
if (!block.isGiven()) throw argumentError(context, "no block given");
995
if (block.isEscaped()) throw argumentError(context, "can't pass a Proc as a block to Module#refine");
0 commit comments