mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/strscan/strscan.c (strscan_exist_p): fix document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9f42dfa012
commit
e6c7da504f
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue Jun 3 22:37:26 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* ext/strscan/strscan.c (strscan_exist_p): fix document.
|
||||
|
||||
Tue Jun 3 22:33:29 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* test/ruby/test_dir.rb: add tests to achieve over 90% test coverage
|
||||
|
|
|
@ -573,7 +573,7 @@ strscan_scan_until(VALUE self, VALUE re)
|
|||
* s = StringScanner.new('test string')
|
||||
* s.exist? /s/ # -> 3
|
||||
* s.scan /test/ # -> "test"
|
||||
* s.exist? /s/ # -> 6
|
||||
* s.exist? /s/ # -> 2
|
||||
* s.exist? /e/ # -> nil
|
||||
*/
|
||||
static VALUE
|
||||
|
|
Loading…
Reference in a new issue