Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/ImpURI/Object/blankQ.rb
Overview
Changes:
-
Now using a more recent version from ActiveSupport. This more recent version from ActiveSupport is likely more efficient and slightly more succinct.
Instance Method Summary collapse
Instance Method Details
#blank? ⇒ Boolean
14 15 16 |
# File 'lib/ImpURI/Object/blankQ.rb', line 14 def blank? respond_to?(:empty?) ? empty? : !self end |