Joined November 2012
·

Darren Coxall

Senior Developer at Simply Business
·
Hertfordshire, UK
·
·
·

Posted to Conversion to boolean in Ruby over 1 year ago

It is probably better to raise an exception if the value isn't obviously convertible. Like how Integer("a") isn't valid. Boolean("what") makes little sense IMO

Achievements
10 Karma
0 Total ProTip Views