module RSpec::Matchers
Public Instance Methods
delegation()
click to toggle source
# File lib/delegate_matcher/delegate_matcher.rb, line 39 def delegation @delegation ||= DelegateMatcher::Delegation.new(expected) end
expected()
click to toggle source
# File lib/delegate_matcher/delegate_matcher.rb, line 43 def expected @expected ||= DelegateMatcher::Expected.new end
failure_message()
click to toggle source
Calls superclass method
# File lib/delegate_matcher/delegate_matcher.rb, line 16 def failure_message delegation.failure_message(false) || super end
failure_message_when_negated()
click to toggle source
Calls superclass method
# File lib/delegate_matcher/delegate_matcher.rb, line 20 def failure_message_when_negated delegation.failure_message(true) || super end