D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Kernel
/
Filename :
chomp-i.yaml
back
Copy
--- !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