class Shoulda::Matchers::Independent::DelegateMethodMatcher
def description
def description string = "delegate #{formatted_delegating_method_name} to the " + "#{formatted_delegate_object_reader_method_name} object" if expects_private_delegation? string << ' privately' end if delegated_arguments.any? string << " passing arguments #{delegated_arguments.inspect}" end if delegate_method != delegating_method string << " as #{formatted_delegate_method}" end if expects_to_allow_nil_delegate_object? string << ', allowing ' string << formatted_delegate_object_reader_method_name string << ' to return nil' end string end