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
classiccms-0.7.5 vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/object.rb
classiccms-0.7.4 vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/object.rb
classiccms-0.7.3 vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/object.rb
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/mail-2.4.4/lib/mail/core_extensions/object.rb
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/mail-2.4.4/lib/mail/core_extensions/object.rb
classiccms-0.7.2 vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/object.rb
classiccms-0.7.1 vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/object.rb
active_mailer-0.0.9 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/mail-2.4.4/lib/mail/core_extensions/object.rb
active_mailer-0.0.8 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/mail-2.4.4/lib/mail/core_extensions/object.rb
active_mailer-0.0.7 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/mail-2.4.4/lib/mail/core_extensions/object.rb
active_mailer-0.0.6 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/mail-2.4.4/lib/mail/core_extensions/object.rb
classiccms-0.7.0 vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/object.rb
challah-1.0.0.beta3 vendor/bundle/gems/mail-2.5.3/lib/mail/core_extensions/object.rb
fc-webicons-0.0.4 vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/core_extensions/object.rb
challah-1.0.0.beta2 vendor/bundle/gems/mail-2.5.3/lib/mail/core_extensions/object.rb
challah-1.0.0.beta vendor/bundle/gems/mail-2.5.3/lib/mail/core_extensions/object.rb
challah-1.0.0.beta vendor/bundle/gems/mail-2.4.4/lib/mail/core_extensions/object.rb
fc-webicons-0.0.3 vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/core_extensions/object.rb
fc-webicons-0.0.2 vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/core_extensions/object.rb
fc-webicons-0.0.1 vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/core_extensions/object.rb