Libraries
»
ruby_core_extensions
(0.2.0)
»
Index (N)
»
Numeric
Class: Numeric
Inherits:
Object
Object
Numeric
show all
Defined in:
lib/ruby_core_extensions/numeric.rb
Instance Method Summary
collapse
#
to_bool
⇒ Object
Instance Method Details
#
to_bool
⇒
Object
2 3 4
# File 'lib/ruby_core_extensions/numeric.rb', line 2
def
to_bool
!
zero?
end