aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xmlrpc/parser.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-29 07:54:38 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-29 07:54:38 +0000
commit919f456de88e9e1011db8f6e4e484e1b25e77af4 (patch)
treee367d6d1ba65d30139ae43891b52edfe71be8fca /lib/xmlrpc/parser.rb
parent6a738f22656ffe247bcd02cf354c12a5370818ec (diff)
downloadruby-919f456de88e9e1011db8f6e4e484e1b25e77af4.tar.gz
* exception message clean-up by Ian Macdonald <ian@caliban.org>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/xmlrpc/parser.rb')
-rw-r--r--lib/xmlrpc/parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xmlrpc/parser.rb b/lib/xmlrpc/parser.rb
index 357618261e..da214ba1ce 100644
--- a/lib/xmlrpc/parser.rb
+++ b/lib/xmlrpc/parser.rb
@@ -467,7 +467,7 @@ module XMLRPC
else
# is a normal return value
raise "Missing return value!" if parser.params.size == 0
- raise "To many return values. Only one allowed!" if parser.params.size > 1
+ raise "Too many return values. Only one allowed!" if parser.params.size > 1
[true, parser.params[0]]
end
end