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
shelly-0.0.3 lib/core_ext/object.rb
shelly-0.0.2 lib/core_ext/object.rb
nfagent-0.9.30 lib/nfagent/object_extra.rb
nfagent-0.9.29 lib/nfagent/object_extra.rb
nfagent-0.9.28 lib/nfagent/object_extra.rb
nfagent-0.9.27 lib/nfagent/object_extra.rb
nfagent-0.9.26 lib/nfagent/object_extra.rb
freec-0.2.5 lib/tools.rb
freec-0.2.2 lib/tools.rb
freec-0.2.1 lib/tools.rb
freec-0.2.0 lib/tools.rb