Sha256: 52fbdb4f7812ac741e91b35c99a89c0b15d43f68814767798a81af513aaad142

Contents?: true

Size: 144 Bytes

Versions: 7

Compression:

Stored size: 144 Bytes

Contents

class Object
  def blank?
    !self
  end unless method_defined? :blank?

  def present?
    !blank?
  end unless method_defined? :present?
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wisepdf-1.4.0 lib/wisepdf/ext.rb
wisepdf-1.3.1 lib/wisepdf/ext.rb
wisepdf-1.3.0 lib/wisepdf/ext.rb
wisepdf-1.2.10 lib/wisepdf/ext.rb
wisepdf-1.2.9 lib/wisepdf/ext.rb
wisepdf-1.2.8 lib/wisepdf/ext.rb
wisepdf-1.2.7 lib/wisepdf/ext.rb