Class diagram: attributes in methods?

Hello

When you create a class diagram do you depict the attributes that’s inside a method in the class?

Thanks.
-Mathias

I assume you mean variables that are defined within the scope of the method. In which case, no, you would not depict these attributes since they have no meaning in the scope of the other classes and their relationships.