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 |
Explain about class libraries in ruby?
Explain Ruby object?
What is the difference between ruby 1.9 and ruby 2.0?
Explain me what is the difference between symbol and string?
What are ruby blocks.
Tell me what is the difference between calling super and calling super()?
Are numeric objects mutable in ruby?
What is ruby?
What are blocks and procs?
How to write multiline string in Ruby?
Explain break statement in Ruby?
Explain about ruby names?