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
Mongoose
Have at least one original repo where Ruby is the dominant language
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