Skip to content

Commit

Permalink
* error.c: [DOC] Fix case of type in exception message by @tricknotes
Browse files Browse the repository at this point in the history
  [Fixes rubyGH-740] ruby#740

* object.c: ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
zzak committed Oct 14, 2014
1 parent 3958ba3 commit 8566242
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Wed Oct 15 04:53:30 2014 Zachary Scott <[email protected]>

* 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 <[email protected]>

* tool/rbinstall.rb (gem): Fix permissions of bundled gems
Expand Down
2 changes: 1 addition & 1 deletion error.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion object.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8566242

Please sign in to comment.