Specs for where $_ is defined and when it is defined?

This should be two specs as whether it's defined has nothing to do with whether it is set in a method. Unless the variable is visible in `local_variables`, it shouldn't be called a local variable. I believe it's a frame-local variable. A concept that has no embodiment in Ruby so it's hard to point to. You have to infer it's existence indirectly.