Sha256: 87daad07512df18e42729b0bd52b772f3768a502844e408b8a0ce6cf7d7c41a3

Contents?: true

Size: 231 Bytes

Versions: 28

Compression:

Stored size: 231 Bytes

Contents

# encoding: utf-8

# This is not loaded if ActiveSupport is already loaded

class NilClass #:nodoc:
  unless nil.respond_to? :blank?
    def blank?
      true
    end
  end

  def to_crlf
    ''
  end

  def to_lf
    ''
  end
end

Version data entries

28 entries across 27 versions & 10 rubygems

Version Path
mail-2.5.5 lib/mail/core_extensions/nil.rb
mail-2.5.5.rc1 lib/mail/core_extensions/nil.rb
angular-rails4-templates-0.4.1 vendor/ruby/2.1.0/gems/mail-2.6.3/lib/mail/core_extensions/nil.rb
angular-rails4-templates-0.4.0 vendor/ruby/2.1.0/gems/mail-2.6.3/lib/mail/core_extensions/nil.rb
tdiary-4.2.1 vendor/bundle/ruby/2.3.0/gems/mail-2.6.3/lib/mail/core_extensions/nil.rb
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/mail-2.6.3/lib/mail/core_extensions/nil.rb
angular-rails4-templates-0.3.0 vendor/ruby/2.1.0/gems/mail-2.6.3/lib/mail/core_extensions/nil.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/mail-2.6.3/lib/mail/core_extensions/nil.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/mail-2.6.3/lib/mail/core_extensions/nil.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/mail-2.6.3/lib/mail/core_extensions/nil.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/mail-2.6.3/lib/mail/core_extensions/nil.rb
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/mail-2.6.3/lib/mail/core_extensions/nil.rb
mail-2.6.3 lib/mail/core_extensions/nil.rb
mail-portertech-2.6.2.edge lib/mail/core_extensions/nil.rb
mail-2.6.1 lib/mail/core_extensions/nil.rb
mail-2.6.0 lib/mail/core_extensions/nil.rb
challah-1.0.0 vendor/bundle/gems/mail-2.5.4/lib/mail/core_extensions/nil.rb
swipe-rails-0.0.5 vendor/bundle/gems/mail-2.5.4/lib/mail/core_extensions/nil.rb
mail-2.5.4 lib/mail/core_extensions/nil.rb
challah-1.0.0.beta3 vendor/bundle/gems/mail-2.5.3/lib/mail/core_extensions/nil.rb