T
Q. Which character is used to give comment in ruby?
The hash character (#) is used to give comment in ruby.
You must be Logged in to update hint/solution
Q. What does the `protected` keyword do in Ruby?
Q. It is must for Ruby to use a compiler.
Q. What is the purpose of using the method_missing method in Ruby?
Q. What does the command gem uninstall gem_name do in Ruby?
Q. What is the purpose of the lazy method in Ruby enumerators?
Q. What is the purpose of the times method in Ruby enumerators?
Q. What will be output for the following code?
Q. The elsif statement can add many alternatives to if/else statements.
Q. Which method is used to find the first occurrence of a pattern in a string in Ruby?
Q. Which modifier is used to perform case-insensitive matching in Ruby regular expressions?
Discusssion
Login to discuss.