module ViewComponent::Slotable

def raise_if_slot_name_uncountable(slot_name)

def raise_if_slot_name_uncountable(slot_name)
  slot_name = slot_name.to_s
  if slot_name.pluralize == slot_name.singularize
    raise UncountableSlotNameError.new(name, slot_name)
  end
end