Sha256: 025ba70506f8b2fc08e083518b037fc07b285c24915cd1c5a3f85f702b7cb040
Contents?: true
Size: 308 Bytes
Versions: 8
Compression:
Stored size: 308 Bytes
Contents
class Array def wildcard_match?(other) return false unless other.is_a?(Array) each_with_index do |value, i| if value.respond_to?(:wildcard_match?) return false unless value.wildcard_match?(other[i]) else return false unless value == other[i] end end end end
Version data entries
8 entries across 8 versions & 1 rubygems