class RSpec::Matchers::BuiltIn::HaveAttributes

def matches?(actual)

Returns:
  • (Boolean) -

Other tags:
    Api: - private
def matches?(actual)
  @actual = actual
  @negated = false
  return false unless respond_to_attributes?
  perform_match(:all?)
end