app/components/primer/beta/auto_complete.rb
def before_render
        raise ArgumentError, "Missing `input` slot" if input.blank?
        raise ArgumentError, "Accessible label is required." if label.blank? && input.missing_label?

        results(classes: "") unless results
      end
# add `results` without needing to explicitly call it in the view
add `results` without needing to explicitly call it in the view
add ` results ` without needing to explicitly call it in the view
def before_render
        raise ArgumentError, "Missing `input` slot" if input.blank?
        raise ArgumentError, "Accessible label is required." if label.blank? && input.missing_label?
        results(classes: "") unless results
      end
def before_render raise ArgumentError , "Missing `input` slot" if input . blank? raise ArgumentError , "Accessible label is required." if label . blank? && input . missing_label? results ( classes : "" ) unless results end
add `results` without needing to explicitly call it in the view
add ` results ` without needing to explicitly call it in the view