aboutsummaryrefslogtreecommitdiffstats
path: root/vm_debug.h
diff options
context:
space:
mode:
authorsonots <sonots@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-21 07:43:26 +0000
committersonots <sonots@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-21 07:43:26 +0000
commit2cf26ae662667618fa91d7b3adbbf515361e3d84 (patch)
tree7cb10b195876d2defb42961be4823620ab550e65 /vm_debug.h
parent6980bf408cd23d0f9ba7c56921a72b41d8686edd (diff)
downloadruby-2cf26ae662667618fa91d7b3adbbf515361e3d84.tar.gz
string.c: add String#delete_prefix and String#delete_prefix!
to remove leading substr [Feature #12694] [fix GH-1632] * string.c (rb_str_delete_prefix_bang): add a new method to remove prefix destuctively. * string.c (rb_str_delete_prefix): add a new method to remove prefix non-destuctively. * test/ruby/test_string.rb: add tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_debug.h')
0 files changed, 0 insertions, 0 deletions