M
Q. What does the 'return' keyword do in Ruby methods?
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. What is the method used to define class methods in Ruby?
Q. Which method is used to retrieve file attributes in Ruby?
Q. Which of the following is supported by Ruby?
Q. Which keyword is used to refer to the current instance of a class in Ruby?
Q. What is the output of the given code? a=5 b=15 while b>a puts a*(b-a) while a>b a+=1 b-=1 end end
Q. What is the main difference between instance_eval and class_eval in Ruby?
Q. Which operator is used for subtraction in Ruby?
Q. What is the output of the expression: "5" + "2" in Ruby?
Discusssion
Login to discuss.