Module: RSpec::Matchers
- Defined in:
- lib/super_diff/rspec/monkey_patches.rb
Defined Under Namespace
Modules: BuiltIn Classes: ExpectedsForMultipleDiffs
Instance Method Summary collapse
Instance Method Details
#match_array(items) ⇒ Object
739 740 741 |
# File 'lib/super_diff/rspec/monkey_patches.rb', line 739 def match_array(items) BuiltIn::MatchArray.new(items.is_a?(String) ? [items] : items) end |