Home / Programming MCQs / Ruby MCQs / Question
M
Q. What is the role of ! at the end of the capitalize method?
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
What does the map method do in Ruby enumerators?
What is the purpose of the attr_accessor method in Ruby classes?
What does the `protected` keyword do in Ruby classes?
What is the output of the expression: 7 / 2 in Ruby?
What does the == operator do in Ruby?
How to comment multiple lines in ruby?
Which will be output for the following code?
Which method is used to subtract a number of days from a Date object in Ruby?
Discusssion
Login to discuss.