class ViewComponent::Compiler

def call_method_name(variant)

Experimental RBS support (using type sampling data from the type_fusion project).

def call_method_name: (nil variant) -> String

This signature was generated using 5 samples from 2 applications.

def call_method_name(variant)
  if variant.present? && variants.include?(variant)
    "call_#{normalized_variant_name(variant)}"
  else
    "call"
  end
end