summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorKenichi Kamiya <kachick1@gmail.com>2019-08-19 17:30:59 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-19 17:30:59 +0900
commit605d2ce9b98c4306505c8be05483e3d296db5f1e (patch)
tree8907429dabc42eb3a28349892e13b9bdb9f1b781 /sample
parent45454bdb8b25def782677dceb92cfd7b2d8b83c1 (diff)
Accurate a sample to show having some ext (#2385)
Diffstat (limited to 'sample')
-rw-r--r--sample/dir.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/dir.rb b/sample/dir.rb
index 44733c2cf4..0c55078973 100644
--- a/sample/dir.rb
+++ b/sample/dir.rb
@@ -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"