class Integer

Public Instance Methods

to_bool() click to toggle source
# File lib/maybe_so/core_ext/integer.rb, line 2
def to_bool
  self == 1
end