RSpec::Matchers::BuiltIn::BaseMatcher
# File lib/rspec/matchers/built_in/include.rb, line 5 def initialize(*expected) @expected = expected end
# File lib/rspec/matchers/built_in/include.rb, line 19 def description "include#{expected_to_sentence}" end
# File lib/rspec/matchers/built_in/include.rb, line 23 def diffable? true end
# File lib/rspec/matchers/built_in/include.rb, line 14 def does_not_match?(actual) @actual = actual perform_match(:none?, :any?, @actual, @expected) end
# File lib/rspec/matchers/built_in/include.rb, line 9 def matches?(actual) @actual = actual perform_match(:all?, :all?, @actual, @expected) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.