class RuboCop::Cop::Lint::AssignmentInCondition

def allowed_construct?(asgn_node)

def allowed_construct?(asgn_node)
  asgn_node.begin_type? || conditional_assignment?(asgn_node)
end