module RSpec::Core::MemoizedHelpers

def subject

Other tags:
    See: #is_expected -
    See: #should_not -
    See: #should -

Other tags:
    Note: - Because `subject` is designed to create state that is reset between
    Note: - `subject` was contributed by Joe Ferris to support the one-liner
def subject
  __memoized.fetch(:subject) do
    __memoized[:subject] = begin
      described = described_class || self.class.description
      Class === described ? described.new : described
    end
  end
end