class Object
Public Instance Methods
to_bool()
click to toggle source
Returns the typecasted value of this object. This would be @true@ for all objects except @false@ and @nil@, which type-cast to @false@.
@return [true, false] The typecast value of this object.
# File lib/boolean.rb, line 66 def to_bool() true end