1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Accurate a sample to show having some ext (#2385)

This commit is contained in:
Kenichi Kamiya 2019-08-19 17:30:59 +09:00 committed by Takashi Kokubun
parent 45454bdb8b
commit 605d2ce9b9

View file

@ -3,7 +3,7 @@
dirp = Dir.open(".")
for f in dirp
case f
when /\A\./, /~\z/, /\.o/
when /\A\./, /~\z/, /\.o\z/
# do not print
else
print f, "\n"