summaryrefslogtreecommitdiff
path: root/sample/eval.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/eval.rb')
-rw-r--r--sample/eval.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/eval.rb b/sample/eval.rb
index b9a54df34c..8b582b0fdc 100644
--- a/sample/eval.rb
+++ b/sample/eval.rb
@@ -12,7 +12,7 @@ while TRUE
print "ruby| "
next
end
- if l =~ /^\s*(class|module|def|if|case|while|for|begin)\b[^_]/
+ if l =~ /^\s*(class|module|def|if|unless|case|while|until|for|begin)\b[^_]/
indent += 1
end
if l =~ /^\s*end\b[^_]/