Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/RubyModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ String anonymousMetaNameWithIdentifier(ThreadContext context) {
return metaClass.getRealClass().getName(context) + ":0x" + Integer.toHexString(System.identityHashCode(this));
}

@JRubyMethod(name = "refine", reads = SCOPE)
@JRubyMethod(name = "refine", visibility = PRIVATE, reads = SCOPE)
public IRubyObject refine(ThreadContext context, IRubyObject klass, Block block) {
if (!block.isGiven()) throw argumentError(context, "no block given");
if (block.isEscaped()) throw argumentError(context, "can't pass a Proc as a block to Module#refine");
Expand Down
Loading