summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,