Parent

Methods

Class/Module Index [+]

Quicksearch

Shoulda::Matchers::Independent::DelegateMatcher::TargetNotDefinedError

@private

Public Instance Methods

message() click to toggle source
# File lib/shoulda/matchers/independent/delegate_matcher.rb, line 288
def message
  'Delegation needs a target. Use the #to method to define one, e.g.
  `post_office.should delegate(:deliver_mail).to(:mailman)`'.squish
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.