summaryrefslogtreecommitdiff
path: root/ext/pathname/pathname.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-01-06 23:27:16 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-01-07 09:23:38 +0900
commit6baa78bb78315dfb0bc05e933fe6c512a3a098e6 (patch)
treea90e0b722d375a383a3ef6d70c9219aa0276e700 /ext/pathname/pathname.c
parent83b987054a801405673266ba47c6f38e33efee0e (diff)
Use chomp: option when chomp mode
Get rid of depending on using $/ internally in String#chomp!, and chomp the separator at once.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5403
Diffstat (limited to 'ext/pathname/pathname.c')
0 files changed, 0 insertions, 0 deletions