class RuboCop::RSpec::ExampleGroup

def hooks

def hooks
  find_all_in_scope(node, :hook?).map do |node|
    Hook.new(node)
  end
end