Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/dragonfly/core_ext/object.rb
Instance Method Summary collapse
-
#blank? ⇒ Boolean
Will eventually get this by cherry-picking from activesupport.
Instance Method Details
#blank? ⇒ Boolean
Will eventually get this by cherry-picking from activesupport
4 5 6 |
# File 'lib/dragonfly/core_ext/object.rb', line 4 def blank? respond_to?(:empty?) ? empty? : !self end |