For getting an input from the user which method is used?
get
gets.chomp
get-s
chomp
(B) gets.chomp
Explanation:
The method gets.chomp takes the input from the user.