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
challah-0.2.1 vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/object.rb
challah-0.2.0 vendor/bundle/gems/mail-2.4.1/lib/mail/core_extensions/object.rb
mail-2.4.1 lib/mail/core_extensions/object.rb
mail-2.4.0 lib/mail/core_extensions/object.rb
mail-trunk-2.3.0 lib/mail/core_extensions/object.rb
mail-2.3.0 lib/mail/core_extensions/object.rb