Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -99,7 +99,7 @@ public IRubyObject searchConst(ThreadContext context, StaticScope staticScope) {
}

public IRubyObject searchModuleForConst(ThreadContext context, IRubyObject cmVal) {
// Lexical lookup
// Inheritance lookup
RubyModule module = (RubyModule) cmVal;
Ruby runtime = context.getRuntime();
IRubyObject constant = publicOnly ? module.getConstantFromNoConstMissing(name, false) : module.getConstantNoConstMissing(name);

0 comments on commit c7ff9ae

Please sign in to comment.