Class: NilClass
Overview
Add #blank? method to NilClass class.
Instance Method Summary collapse
-
#blank? ⇒ TrueClass
Nil is always blank.
Instance Method Details
#blank? ⇒ TrueClass
Nil is always blank
nil.blank? #=> true
55 56 57 |
# File 'lib/croesus/core_ext/blank.rb', line 55 def blank? true end |