Top Level Namespace

Defined Under Namespace

Modules: RspecMultiMatchers Classes: MatchEach, MatchEnum, MatchInOrder

Instance Method Summary collapse

Instance Method Details

#each(options = nil, &block) ⇒ Object



76
77
78
# File 'lib/match_each.rb', line 76

def each(options=nil, &block)
  MatchEach.new options, &block
end

#enum(method, options = nil, &block) ⇒ Object



64
65
66
# File 'lib/match_enum.rb', line 64

def enum(method, options=nil, &block)
  MatchEnum.new method, options, &block
end

#match_in_order(*regexps) ⇒ Object



29
30
31
# File 'lib/match_in_order.rb', line 29

def match_in_order(*regexps)
  MatchInOrder.new(regexps)
end