What is the pattern matching operator in ruby?
Answer / Anurag Kumar Srivastava
"The pattern matching operator in Ruby is the case insensitive ~=. It allows you to match a value against a pattern, such as a regular expression."
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain how Symbol is different from variables?
What is the difference between nil and false in ruby?
Define ruby methods.
What is the difference between a class and a module?
Explain about Class variable and global variable?
Is ruby a dying language?
Explain about garbage collection feature of ruby?
Tell me what is the difference between calling super and calling super()?
Where does a scope change in a ruby program?
what is the difference between Procs and Blocks?
Explain class libraries in ruby.
Tell me what is the role of sub-directory app/controllers and app/helpers?