BaseMatcher
@api private Provides the implementation for `all`. Not intended to be instantiated directly.
@api private @return [String]
# File lib/rspec/matchers/built_in/all.rb, line 33 def description improve_hash_formatting "all #{description_of matcher}" end
@private
# File lib/rspec/matchers/built_in/all.rb, line 17 def does_not_match?(_actual) raise NotImplementedError, '`expect().not_to all( matcher )` is not supported.' end
@api private @return [String]
# File lib/rspec/matchers/built_in/all.rb, line 23 def failure_message all_messages = [improve_hash_formatting(super)] failed_objects.each do |index, matcher_failure_message| all_messages << failure_message_for_item(index, matcher_failure_message) end all_messages.join("\n\n") end
Generated with the Darkfish Rdoc Generator 2.