* 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
This commit is contained in:
zzak 2014-10-14 19:54:36 +00:00
Родитель 3958ba3cbe
Коммит 856624228c
3 изменённых файлов: 9 добавлений и 2 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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.

Просмотреть файл

@ -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,