aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorsonots <sonots@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-07-20 16:29:19 +0000
committersonots <sonots@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-07-20 16:29:19 +0000
commit3f66a88944500e90b436cc9260d056046ddd0766 (patch)
treefe7aac93a03c37a673e943c1ee6935296e33fce3 /file.c
parent8ed01a573f336d033f7f8fe242ce1b7954de168d (diff)
downloadruby-3f66a88944500e90b436cc9260d056046ddd0766.tar.gz
string.c: add String#delete_suffix and String#delete_suffix!
to remove trailing suffix [Feature #13665] [Fix GH-1661] * string.c (rb_str_delete_suffix_bang): add a new method to remove suffix destuctively. * string.c (rb_str_delete_suffix): add a new method to remove suffix non-destuctively. * test/ruby/test_string.rb: add tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
0 files changed, 0 insertions, 0 deletions