Home / Programming MCQs / Ruby MCQs / Question
M
Q. Which method in Ruby is used to set the position of the file pointer?
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Which method is used to calculate the difference in years between two Date objects in Ruby?
What will be the output of the given code?
What will be the output of the given code?
How do you open a file in Ruby in write mode, creating it if it does not exist?
Which command is used to uninstall all versions of a gem in Ruby?
Which of the following is not a type of loop in ruby?
What does the 'gets' method do in Ruby?
Objects of which class does the integer from the range -2^30 to 2^(30-1) belong to?
Discusssion
Login to discuss.