module RuboCop

NOTE TO SELF - this one works BUT not if other its statements are defined. Needs to work in any arrangement. This is a powerful one to crack as this pattern will be used in a LOT of other cops.

Note: highlighting could possibly be better

Note: highlighting could possibly be better

NOTE TO SELF - this one works BUT not if other its statements are defined. Needs to work in any arrangement. This is a powerful one to crack as this pattern will be used in a LOT of other cops.

The original code is from github.com/rubocop-hq/rubocop-rspec/blob/master/lib/rubocop/rspec/inject.rb See github.com/rubocop-hq/rubocop-rspec/blob/master/MIT-LICENSE.md