module RSpec::Core::Subject

def using_attribute?

def using_attribute?
  example.in_block? &&
  example.metadata[:attribute_of_subject]
end