summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-14 19:54:36 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-14 19:54:36 +0000
commit856624228c8f2bab8481b9791296804fb6180897 (patch)
treec7055fb5cff128abc5e2d7512942b9308702c998
parent3958ba3cbeb3a362f25522017b26455bfcd5c58b (diff)
* error.c: [DOC] Fix case of type in exception message by @tricknotes
[Fixes GH-740] https://github.com/ruby/ruby/pull/740 * object.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog7
-rw-r--r--error.c2
-rw-r--r--object.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 614764c430..5dc5975c4a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Wed Oct 15 04:53:30 2014 Zachary Scott <e@zzak.io>
+
+ * error.c: [DOC] Fix case of type in exception message by @tricknotes
+ [Fixes GH-740] https://github.com/ruby/ruby/pull/740
+
+ * object.c: ditto
+
Tue Oct 14 21:39:16 2014 Vit Ondruch <vondruch@redhat.com>
* tool/rbinstall.rb (gem): Fix permissions of bundled gems
diff --git a/error.c b/error.c
index 8b5d9a15fb..312f831320 100644
--- a/error.c
+++ b/error.c
@@ -1669,7 +1669,7 @@ syserr_eqq(VALUE self, VALUE exc)
*
* <em>raises the exception:</em>
*
- * RuntimeError: can't modify frozen array
+ * RuntimeError: can't modify frozen Array
*
* Kernel.raise will raise a RuntimeError if no Exception class is
* specified.
diff --git a/object.c b/object.c
index 3126ed01e6..f330aeeab5 100644
--- a/object.c
+++ b/object.c
@@ -1073,7 +1073,7 @@ rb_obj_infect(VALUE obj1, VALUE obj2)
*
* <em>produces:</em>
*
- * prog.rb:3:in `<<': can't modify frozen array (RuntimeError)
+ * prog.rb:3:in `<<': can't modify frozen Array (RuntimeError)
* from prog.rb:3
*
* Objects of the following classes are always frozen: Fixnum,