Home / Programming MCQs / Ruby MCQs / Question
M
Q. What is the purpose of the include keyword in Ruby classes?
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
What is the result of the expression: 5 / 2 in Ruby?
In Ruby, which method is used to check if an object responds to a certain method?
In Ruby, which keyword is used to define a class method?
What does the command gem search keyword do in Ruby?
What does the block_given? method do in Ruby?
What will the following code evaluate to? a=9!=10
What is the use of else statement?
Which method is used to find the number of weeks between two Date objects in Ruby?
What happens if a block is passed to a method that doesn't expect one in Ruby?
Discusssion
Login to discuss.