Class: Numeric

Inherits:
Object show all
Defined in:
lib/ruby/blank.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

No number is blank:

1.blank? # => false
0.blank? # => false

Returns:

  • (Boolean)


129
130
131
# File 'lib/ruby/blank.rb', line 129

def blank?
  false
end