Module: ExAequo::RSpex::Helpers::SubjectHelpers::MatchHelper
- Extended by:
- MatchHelper
- Included in:
- MatchHelper
- Defined in:
- lib/ex_aequo/rspex/helpers/subject_helpers/match_helper.rb
Instance Method Summary collapse
Instance Method Details
#make_line_matchers(*matchers) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/ex_aequo/rspex/helpers/subject_helpers/match_helper.rb', line 8 def make_line_matchers(*matchers) Regexp.compile( matchers .map { mk_rgx_part it } .join("\n") ) end |