Sha256: d31f62b36ab5111962ea8b255a0dd3f60d6c98413407f80eca6d9b5ba02e0d1f

Contents?: true

Size: 134 Bytes

Versions: 3

Compression:

Stored size: 134 Bytes

Contents

class Array
  def include_all?(values)
    (values - self).empty?
  end

  def include_any?(values)
    (self & values).any?
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
git_handler-0.2.2 lib/git_handler/core_ext/array.rb
git_handler-0.2.1 lib/git_handler/core_ext/array.rb
git_handler-0.2.0 lib/git_handler/core_ext/array.rb