method
chomp
v2_1_10 -
Show latest stable
- Class:
Kernel
chomp(*args)public
Equivalent to $_ = $_.chomp(string). See String#chomp. Available only when -p/-n command line option specified.
chomp(*args)Equivalent to $_ = $_.chomp(string). See String#chomp. Available only when -p/-n command line option specified.