Sha256: e72edf7bf3c9e6d4baa433086bab94069a34c4a21e34129f4ee5562068f4934c

Contents?: true

Size: 179 Bytes

Versions: 60

Compression:

Stored size: 179 Bytes

Contents

class Object
  
  # Don't want to depend on activesupport for this
  def blank?
    respond_to?(:empty?) ? empty? : !self
  end

  def to_dragonfly_unique_s
    to_s
  end
  
end

Version data entries

60 entries across 60 versions & 3 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/object.rb
classiccms-0.7.4 vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/object.rb
classiccms-0.7.3 vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/object.rb
classiccms-0.7.2 vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/object.rb
classiccms-0.7.1 vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/object.rb
classiccms-0.7.0 vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/object.rb
dragonfly-0.9.15 lib/dragonfly/core_ext/object.rb
dragonfly-0.9.14 lib/dragonfly/core_ext/object.rb
dragonfly-0.9.13 lib/dragonfly/core_ext/object.rb
classiccms-0.6.9 vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/object.rb
classiccms-0.6.8 vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/object.rb
classiccms-0.6.7 vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/object.rb
classiccms-0.6.6 vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/object.rb
classiccms-0.6.5 vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/object.rb
classiccms-0.6.4 vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/object.rb
classiccms-0.6.3 vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/object.rb
classiccms-0.6.2 vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/object.rb
classiccms-0.6.1 vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/object.rb
classiccms-0.6.0 vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/object.rb
classiccms-0.5.17 vendor/bundle/gems/dragonfly-0.9.12/lib/dragonfly/core_ext/object.rb