Class: Numeric

Inherits:
Object show all
Defined in:
extend/blank.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#blank?false

No number is blank:

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

Returns:

  • (false)


156
# File 'extend/blank.rb', line 156

def blank? = false

#present?true

Returns:

  • (true)


159
# File 'extend/blank.rb', line 159

def present? = true