class RuboCop::RSpec::Hook
def scope
def scope return :each if scope_argument&.hash_type? case scope_name when nil, :each, :example then :each when :context, :all then :context when :suite then :suite end end
def scope return :each if scope_argument&.hash_type? case scope_name when nil, :each, :example then :each when :context, :all then :context when :suite then :suite end end