Skip to content

Commit

Permalink
Revert chomp! (see linked discussion)
Browse files Browse the repository at this point in the history
This PR now only updates `scrub`
  • Loading branch information
ParadoxV5 committed Dec 12, 2023
1 parent 90844c3 commit a8a7805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/string.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,7 @@ class String
# modification made, `self` otherwise.
#
def chomp!: (nil) -> nil
| (?string separator) -> self?
| (?string? separator) -> self? # https://github.com/ruby/rbs/pull/1672#discussion_r1423324796

# <!--
# rdoc-file=string.c
Expand Down

0 comments on commit a8a7805

Please sign in to comment.