Home / Programming MCQs / Ruby MCQs / Question
M
Q. What is the use of .capitalize method?
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Which of the following is the correct way to define a constant in Ruby?
What is the purpose of the advance method for a Time object in Ruby?
What will the following expression evaluate to? (true && false) | | (!true)
What is the purpose of the attr_accessor method in Ruby classes?
How do you find the number of milliseconds between two Time objects in Ruby?
What does the \s character class represent in a regular expression in Ruby?
What is the purpose of the assert_match method in MiniTest?
What is the purpose of the xmlschema method for formatting date and time strings in Ruby?
Discusssion
Login to discuss.