diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-16 15:18:11 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-16 15:18:11 +0000 |
commit | 2a44ebde45e8112fb3537413afa373a2a3ede231 (patch) | |
tree | 5e253ca9cb7a3116e5f501d0cd55bffa367980ee /array.c | |
parent | 673d462137232984f04ecf858951ef9ece3828c2 (diff) | |
download | ruby-2a44ebde45e8112fb3537413afa373a2a3ede231.tar.gz ruby-2a44ebde45e8112fb3537413afa373a2a3ede231.tar.xz ruby-2a44ebde45e8112fb3537413afa373a2a3ede231.zip |
introduce some new methods
* ext/strscan/strscan.c: new method StringScanner#beginning_of_line? (alias #bol?)
* ext/strscan/strscan.c: new method StringScanner#concat and #<<.
* ext/strscan/strscan.c: StringScanner#new(str) does not duplicate nor freeze STR (allow destructive modification).
* test/strscan/test_stringscanner.rb: test new methods above.
* test/strscan/test_stringscanner.rb: test destructive string modification.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
0 files changed, 0 insertions, 0 deletions