A Admin • 828.03K Points Coach Q. What does the `chomp` method do when used with strings in Ruby? (A) Removes whitespace from the beginning and end (B) Removes newline characters from the end (C) Removes whitespace from the end (D) Removes newline characters from the beginning Correct Answer - Option(B) Views: 10 Filed under category Ruby Hashtags: Share Manage Tags
Discusssion
Login to discuss.