Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -526,7 +526,7 @@ public Iterable<RubyModule> selfAndIncludedModules() {
return new Iterable<RubyModule>() {
@Override
public Iterator<RubyModule> iterator() {
return new AncestorIterator(top);
return new IncludedModulesIterator(top);
}
};
}
@@ -536,7 +536,7 @@ public Iterable<RubyModule> includedModules() {
return new Iterable<RubyModule>() {
@Override
public Iterator<RubyModule> iterator() {
return new AncestorIterator(top);
return new IncludedModulesIterator(top);
}
};
}

0 comments on commit 0c900ad

Please sign in to comment.