class Numeric

Public Instance Methods

parse_bool() click to toggle source

Returns the parsed value of this object. Numbers equal to zero are considered @false@; all others are considered @true@.

@return [true, false] The parsed Boolean value of this number.

# File lib/boolean.rb, line 120
def parse_bool() not zero? end
to_b() click to toggle source

@see parse_bool

# File lib/boolean.rb, line 123
def to_b() not zero? end