Sha256: 2e07fd0d7ef3ea0644e8d11b18940aa11aabe99ef5480af478854e948f40468e

Contents?: true

Size: 194 Bytes

Versions: 4

Compression:

Stored size: 194 Bytes

Contents

class Object
  
  # Will eventually get this by cherry-picking from activesupport
  def blank?
    respond_to?(:empty?) ? empty? : !self
  end

  def to_dragonfly_unique_s
    to_s
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dragonfly-0.8.6 lib/dragonfly/core_ext/object.rb
dragonfly-0.8.5 lib/dragonfly/core_ext/object.rb
dragonfly-0.8.4 lib/dragonfly/core_ext/object.rb
dragonfly-0.8.2 lib/dragonfly/core_ext/object.rb