class Unparser::Writer::Send::AttributeAssignment

Writer for send as attribute assignment

def dispatch

def dispatch
  emit_receiver
  emit_attribute
  write('=')
  if arguments.one?
    visit(first_argument)
  else
    parentheses { delimited(arguments) }
  end
end

def emit_attribute

def emit_attribute
  write(details.non_assignment_selector)
end

def emit_receiver

def emit_receiver
  visit(receiver)
  emit_operator
end

def emit_send_mlhs

def emit_send_mlhs
  emit_receiver
  write(details.non_assignment_selector)
end