class AndMatch

Composite specification that matches an item if all of its leaf matchers also match the item.

Public Class Methods

new(matchers)

matchers is an enumerable of items that respond to

Matches

def matches(item)
 # some condition against the item
end

Public Instance Methods

matches(item)