Object
Returns false if invoked on FalseClass instance.
false
FalseClass
false.to_b #=> false
# File core_extensions/false_class.rb, line 18 def to_b false end
Returns 0 if invoked on FalseClass instance.
0
false.to_i #=> 0
# File core_extensions/false_class.rb, line 9 def to_i 0 end