Class: NilClass
- Defined in:
- lib/libis/tools/extend/empty.rb,
lib/libis/tools/extend/string.rb
Overview
Extension class
Instance Method Summary collapse
-
#blank? ⇒ Boolean
Allow nil.blank? so that blank? can be applied without errors.
-
#empty? ⇒ Boolean
Allows nil.empty?.
Instance Method Details
#blank? ⇒ Boolean
Allow nil.blank? so that blank? can be applied without errors.
91 92 93 |
# File 'lib/libis/tools/extend/string.rb', line 91 def blank? true end |
#empty? ⇒ Boolean
Allows nil.empty?
4 5 6 |
# File 'lib/libis/tools/extend/empty.rb', line 4 def empty? true end |