Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/lh.rb
Instance Method Summary collapse
Instance Method Details
#blank? ⇒ Boolean
6 7 8 |
# File 'lib/lh.rb', line 6 def blank? respond_to?(:empty?) ? empty? : !self end |
#present? ⇒ Boolean
10 11 12 |
# File 'lib/lh.rb', line 10 def present? !blank? end |