Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/javasupport/JavaPackage.java
Original file line number Diff line number Diff line change
@@ -249,7 +249,7 @@ public IRubyObject respond_to_missing_p(final ThreadContext context, IRubyObject
}

private RubyBoolean respond_to_missing(final ThreadContext context, IRubyObject mname, final boolean includePrivate) {
return context.runtime.newBoolean(BlankSlateWrapper.handlesMethod(TypeConverter.checkID(mname).getBytes())!= null);
return context.runtime.newBoolean(BlankSlateWrapper.handlesMethod(TypeConverter.checkID(mname).getBytes()) == null);
}

@JRubyMethod(name = "method_missing", visibility = Visibility.PRIVATE)

0 comments on commit 866def2

Please sign in to comment.