Skip to content

Commit

Permalink
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/src/main/java/org/jruby/IncludedModuleWrapper.java
Original file line number Diff line number Diff line change
@@ -205,4 +205,10 @@ public Collection<String> getConstantNames(boolean includePrivate) {
public IRubyObject getAutoloadConstant(String name) {
return origin.getAutoloadConstant(name);
}

@Override
protected DynamicMethod searchMethodCommon(String name) {
// try us and superclasses (from prepend)
return origin.searchMethodInner(name);
}
}

0 comments on commit 7ac2331

Please sign in to comment.