1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* enum.c: Fix typo in slice_after's exception message.

[fix GH-842][ci skip] Patch by @jsyeo

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2015-03-04 01:17:02 +00:00
parent c5e9d76221
commit 5f4f28d669
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Wed Mar 4 10:16:57 2015 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* enum.c: Fix typo in slice_after's exception message.
[fix GH-842][ci skip] Patch by @jsyeo
Wed Mar 4 10:15:37 2015 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* doc/syntax/methods.rdoc: add some missing spaces and

2
enum.c
View file

@ -3234,7 +3234,7 @@ enum_slice_after(int argc, VALUE *argv, VALUE enumerable)
if (rb_block_given_p()) {
if (0 < argc)
rb_raise(rb_eArgError, "both pattan and block are given");
rb_raise(rb_eArgError, "both pattern and block are given");
pred = rb_block_proc();
}
else {