@api private Provides the implementation for `include`. Not intended to be instantiated directly.
@api private @return [String]
# File lib/rspec/matchers/built_in/include.rb, line 28 def description described_items = surface_descriptions_in(expected) improve_hash_formatting "include#{to_sentence(described_items)}" end
@api private @return [Boolean]
# File lib/rspec/matchers/built_in/include.rb, line 47 def diffable? true end
@api private @return [Boolean]
# File lib/rspec/matchers/built_in/include.rb, line 21 def does_not_match?(actual) @actual = actual perform_match(:none?, :any?) end
@api private @return [String]
# File lib/rspec/matchers/built_in/include.rb, line 35 def failure_message improve_hash_formatting(super) + invalid_type_message end
Generated with the Darkfish Rdoc Generator 2.