Q. What does the `chomp` method do when used with strings in Ruby?
β
Correct Answer: (B)
Removes newline characters from the end
You must be Logged in to update hint/solution