aboutsummaryrefslogtreecommitdiffstats
path: root/lib/getoptlong.rb
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-19 14:50:47 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-19 14:50:47 +0000
commitc54733e1206c2d7434610c8f7f2875f082231cfd (patch)
tree35c9630ade390f3a9562e2447dc01f024cd37b2c /lib/getoptlong.rb
parent66795c47745698b30d42b35831f359aa3c07bf2c (diff)
downloadruby-c54733e1206c2d7434610c8f7f2875f082231cfd.tar.gz
fix typos inspired by r40825
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/getoptlong.rb')
-rw-r--r--lib/getoptlong.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getoptlong.rb b/lib/getoptlong.rb
index 259382e8ec..cf635f0438 100644
--- a/lib/getoptlong.rb
+++ b/lib/getoptlong.rb
@@ -356,7 +356,7 @@ class GetoptLong
#
def terminate
return nil if @status == STATUS_TERMINATED
- raise RuntimeError, "an error has occured" if @error != nil
+ raise RuntimeError, "an error has occurred" if @error != nil
@status = STATUS_TERMINATED
@non_option_arguments.reverse_each do |argument|