ATM Challenge Flashcards

1
Q

What is an attr_accessor?

A

it is a class method that gives a class setters and getter methods so that you can use the variables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an instance double?

A

They are fake objects that we use for testing.
Doubles are objects that can be used as stand-ins for instances of other classes. Even if they still are not defined.

We use instance doubles when we don’t have created classes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly