M
Q. How do you find the number of days in the current month in Ruby?
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Q. What is the output of the given code? m=0 loop do puts m*10 m+=1 break if m==5 end
Q. What does the gem list --local command do in Ruby?
Q. What is the result of the expression: 10 / 3 in Ruby?
Q. What is the output of the given code? if(a==10 && b=9) print "true" else print "false" end
Q. In Ruby, which keyword is used to define a private method?
Q. What will be the output of the given code?
Q. What symbol is used to denote comments in Ruby?
Q. What will be the output of the given ruby code?
Q. How do you find the number of minutes between two Time objects in Ruby?
Discusssion
Login to discuss.