The dir gem overrides the Dir#entries and Dir#foreach methods to exclude the ".." and "." entries.
Carel Jonkhout
aucune