What are the only two values that are falsy?
Answer / Tarun Chaudhary
The only two falsy values in Ruby are `nil` and `false`. All other objects, including an empty string (''), array ([]), or zero (0), are truthy.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is mvc and why do we use it?
Tell me the role of modules and mixins in ruby?
How to write multiline string in Ruby?
How is visibility of methods changed in ruby?
How to check whether a directory exist or not in Ruby?
How does ruby deal with extremely large numbers?
What are advantages of using ruby?
What are the different uses of ruby modules?
Tell us how would you implement hash in ruby internally?
How many iterators are there in ruby?
What is ruby methods?
Explain the difference between a single quote and double quote?