--- !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 "ow" #=> "n"\n $_ #=> "n"\n chomp "xxx" #=> "n"\n $_ #=> "n"\n" full_name: Kernel#chomp is_singleton: false name: chomp params: | chomp => $_ chomp(string) => $_ visibility: public