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:
parent
45454bdb8b
commit
605d2ce9b9
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue