class RuboCop::Cop::VariableForce::VariableTable

def accessible_variables

def accessible_variables
  scope_stack.reverse_each.with_object([]) do |scope, variables|
    variables.concat(scope.variables.values)
    break variables unless scope.node.any_block_type?
  end
end