class RuboCop::Cop::Rails::HasManyOrHasOneDependent

def extract_option_if_kwsplat(options)

def extract_option_if_kwsplat(options)
  if options.first.kwsplat_type? && options.first.children.first.hash_type?
    return options.first.children.first.pairs
  end
  options
end