Class: NilClass
Overview
class Numeric
Instance Method Summary collapse
-
#blank? ⇒ TrueClass
Nil is always blank.
- #present? ⇒ Boolean
Instance Method Details
#blank? ⇒ TrueClass
Nil is always blank
nil.blank? #=> true
49 50 51 |
# File 'lib/angry_mob/extend/blank.rb', line 49 def blank? true end |
#present? ⇒ Boolean
52 53 54 |
# File 'lib/angry_mob/extend/blank.rb', line 52 def present? false end |