M
Q. In Ruby, which keyword is used to define a class method?
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. String is a sequence of _________ characters.
Q. What will be the output of the given code?
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 purpose of the gemspec file in a Ruby gem?
Q. What error does the if condition gives if not terminated with end statement?
Q. What will be the output of the given code?
Q. What does the `protected` keyword do in Ruby classes?
Q. What will be the output of the given code? boolean_1 = 77 < 78 && 77 < 77 puts boolean_1
Discusssion
Login to discuss.