Sha256: e8d17ce843e39208fe444e1d0c2e8f2f611df423f9c124f72238889359656c1c

Contents?: true

Size: 78 Bytes

Versions: 51

Compression:

Stored size: 78 Bytes

Contents

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

Version data entries

51 entries across 51 versions & 4 rubygems

Version Path
inspec_tools-3.1.0 lib/overrides/object.rb
inspec_tools-3.1.0.pre1 lib/overrides/object.rb
inspec_tools-3.0.0 lib/overrides/object.rb
inspec_tools-2.3.8 lib/overrides/object.rb
inspec_tools-2.3.7 lib/overrides/object.rb
inspec_tools-2.3.6 lib/overrides/object.rb
inspec_tools-2.3.5 lib/overrides/object.rb
inspec_tools-2.3.4 lib/overrides/object.rb
inspec_tools-2.3.3 lib/overrides/object.rb
inspec_tools-2.3.2 lib/overrides/object.rb
inspec_tools-2.3.1 lib/overrides/object.rb
inspec_tools-2.2.0 lib/overrides/object.rb
inspec_tools-2.1.0 lib/overrides/object.rb
inspec_tools-2.0.7 lib/overrides/object.rb
inspec_tools-2.0.6 lib/overrides/object.rb
inspec_tools-2.0.5 lib/overrides/object.rb
inspec_tools-2.0.4 lib/overrides/object.rb
inspec_tools-2.0.3 lib/overrides/object.rb
inspec_tools-2.0.2.pre13 lib/overrides/object.rb
inspec_tools-0.0.0.1.ENOTAG lib/overrides/object.rb