Mini Shell
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Equivalent to <tt>$_ = $_.chomp(<em>string</em>)</tt>. See <tt>String#chomp</tt>.
- !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
Zerion Mini Shell 1.0