diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-21 08:47:03 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-21 08:47:03 +0000 |
commit | f5ec2b0d75e1f29705aa6b04fdf9e03791b99997 (patch) | |
tree | 5ac497a629839bd4035dfea2d82aa4a16f47f86c /instruby.rb | |
parent | ee9bae8cd7b058a678ec0d0b633ecfb6df3da344 (diff) | |
download | ruby-f5ec2b0d75e1f29705aa6b04fdf9e03791b99997.tar.gz |
* string.c (rb_str_startwith): a new method to check if a string
starts with given prefix.
* string.c (rb_str_endwith): the opposite of String#startwith?.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
0 files changed, 0 insertions, 0 deletions