Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are the only two values that are falsy?



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

Post New Answer

More Ruby Interview Questions

What is mvc and why do we use it?

1 Answers  


Tell me the role of modules and mixins in ruby?

0 Answers  


How to write multiline string in Ruby?

1 Answers  


How is visibility of methods changed in ruby?

1 Answers  


How to check whether a directory exist or not in Ruby?

1 Answers  


How does ruby deal with extremely large numbers?

1 Answers  


What are advantages of using ruby?

1 Answers  


What are the different uses of ruby modules?

1 Answers  


Tell us how would you implement hash in ruby internally?

1 Answers  


How many iterators are there in ruby?

1 Answers  


What is ruby methods?

1 Answers  


Explain the difference between a single quote and double quote?

1 Answers  


Categories