Sha256: 8548c62c2e0ac383678d540a3f2004cf169b267add5200dcb349626363fe4295

Contents?: true

Size: 141 Bytes

Versions: 27

Compression:

Stored size: 141 Bytes

Contents

class Array

  # Not empty?
  #
  #   [].not_empty?     #=> false
  #   [1,2].not_empty?  #=> true

  def not_empty?
    !empty?
  end

end

Version data entries

27 entries across 26 versions & 3 rubygems

Version Path
facets-glimmer-3.2.0 lib/core/facets/array/not_empty.rb
facets-3.1.0 lib/core/facets/array/not_empty.rb
facets-3.0.0 lib/core/facets/array/not_empty.rb
facets-2.9.3 lib/core/facets/array/not_empty.rb
facets-2.9.2 lib/core/facets/array/not_empty.rb
facets-2.9.2 src/core/facets/array/not_empty.rb
facets-2.9.1 lib/core/facets/array/not_empty.rb
facets-2.9.0 lib/core/facets/array/not_empty.rb
facets-2.9.0.pre.2 lib/core/facets/array/not_empty.rb
facets-2.9.0.pre.1 lib/core/facets/array/not_empty.rb
facets-2.8.4 lib/core/facets/array/not_empty.rb
facets-2.8.3 lib/core/facets/array/not_empty.rb
facets-2.8.2 lib/core/facets/array/not_empty.rb
facets-2.8.1 lib/core/facets/array/not_empty.rb
facets-2.8.0 lib/core/facets/array/not_empty.rb
facets-2.7.0 lib/core/facets/array/not_empty.rb
facets-2.6.0 lib/core/facets/array/not_empty.rb
facets-2.4.0 lib/facets/array/not_empty.rb
facets-2.4.1 lib/facets/array/not_empty.rb
facets-2.4.4 lib/core/facets/array/not_empty.rb