# File lib/rspec/core/subject.rb, line 90 def _nested_attribute(subject, attribute) _attribute_chain(attribute).inject(subject) do |inner_subject, attr| inner_subject.send(attr) end end