--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Equivalent to $_.chomp!(string). See String#chomp!
- !ruby/struct:SM::Flow::VERB
body: " $_ = "now\\n"\n chomp! #=> "now"\n $_ #=> "now"\n chomp! "x" #=> nil\n $_ #=> "now"\n"
full_name: Kernel#chomp!
is_singleton: false
name: chomp!
params: |
chomp! => $_ or nil
chomp!(string) => $_ or nil
visibility: public