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

6 commits

Author SHA1 Message Date
dblack
ac9845a16c Fixed a logic glitch in IO#block_scanf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-06 01:49:40 +00:00
dblack
24aac11a56 * soak_up_spaces only ungetc's non-space last character
* IO#block_scanf now returns partial last iteration
  array if format string matches partly


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 15:59:30 +00:00
dblack
2e9663f152 Fixed Kernel#scanf to propagate code block
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 21:23:14 +00:00
dblack
b0c388896a Partial fix so STDIN#scanf works with new STDIN#pos behavior
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 14:25:40 +00:00
dblack
e7653fa093 Took out useless @matched_item variable; some small refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-11 22:06:14 +00:00
dblack
e3556affad Initial commit of scanf.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 12:34:45 +00:00