Joined December 2012
·

Vojtěch Kusý

Developer at AtomicAnt Ltd.
·
Prague, The Heart of Europe ;-)
·
·
·

Posted to Conversion to boolean in Ruby over 1 year ago

@dacoxall Yeah, it makes sense for general use, I'll update the example to include the false values and raise TypeError if value is not found. If someone want to make Boolean("what") false he can always do it in the rescue block. Thanks!

Achievements
256 Karma
279,411 Total ProTip Views