How can I avoid truthiness in Ruby?
Is there any standard way to avoid truthiness in Ruby, or would I need to roll my own solution, such as class FalseClass def to_bool self end end class TrueClass def to_bool self end end true.to_bool # => true false.to_bool # => false nil.to_bool # => NoMethodError 42.to_bool # => NoMethodError Background: I know tha...