Sha256: 9ba56d5cca96df95b72eb97761312cf8022831a2768b4f6ef085e7f43cfec5be

Contents?: true

Size: 181 Bytes

Versions: 126

Compression:

Stored size: 181 Bytes

Contents

# encoding: utf-8

# This is not loaded if ActiveSupport is already loaded

class Object
  def blank?
    if respond_to?(:empty?)
      empty?
    else
     !self
    end
  end
end

Version data entries

126 entries across 114 versions & 13 rubygems

Version Path
rails-uploader-0.0.1 vendor/bundle/ruby/1.9.1/gems/mail-2.4.4/lib/mail/core_extensions/object.rb
challah-0.6.0 vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/object.rb
challah-0.6.0 vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/object.rb
challah-0.5.4 vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/object.rb
challah-0.5.3 vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/object.rb
challah-0.5.2 vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/object.rb
mail-2.4.4 lib/mail/core_extensions/object.rb
mail-2.3.3 lib/mail/core_extensions/object.rb
mail-2.3.2 lib/mail/core_extensions/object.rb
mail-2.4.3 lib/mail/core_extensions/object.rb
challah-0.5.1 vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/object.rb
challah-0.5.0 vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/object.rb
challah-0.4.1 vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/object.rb
challah-0.4.0 vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/object.rb
challah-0.3.5 vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/object.rb
challah-0.3.4 vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/object.rb
challah-0.3.3 vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/object.rb
challah-0.3.2 vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/object.rb
challah-0.3.1 vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/object.rb
challah-0.3.0 vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/object.rb