Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/dragonfly/core_ext/object.rb
Instance Method Summary collapse
-
#blank? ⇒ Boolean
Don’t want to depend on activesupport for this.
- #to_dragonfly_unique_s ⇒ Object
Instance Method Details
#blank? ⇒ Boolean
Don’t want to depend on activesupport for this
4 5 6 |
# File 'lib/dragonfly/core_ext/object.rb', line 4 def blank? respond_to?(:empty?) ? empty? : !self end |
#to_dragonfly_unique_s ⇒ Object
8 9 10 |
# File 'lib/dragonfly/core_ext/object.rb', line 8 def to_dragonfly_unique_s to_s end |