summaryrefslogtreecommitdiff
path: root/sample/occur2.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/occur2.rb')
-rw-r--r--sample/occur2.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/occur2.rb b/sample/occur2.rb
index 8cd5acb..c450c30 100644
--- a/sample/occur2.rb
+++ b/sample/occur2.rb
@@ -5,7 +5,7 @@ while gets()
for word in $_.split(/\W+/)
begin
freq[word] = freq[word] + 1
- resque
+ rescue
freq[word] = 1
end
end