snowdrift.breeze.stub.AnswerBox
- class snowdrift.breeze.stub.AnswerBox(answer=42)
Bases:
objectSample AnswerBox class to test that the module is working correctly.
- Parameters:
answer (int)
- __init__(answer=42)
Initialize the AnswerBox with a default answer of 42.
- Parameters:
answer (int) – The answer to be stored in the box. Default is 42.
- Return type:
None
Methods
__init__([answer])Initialize the AnswerBox with a default answer of 42.
answer()Return the answer stored in the AnswerBox.
- answer()
Return the answer stored in the AnswerBox.
- Returns:
The answer stored in the AnswerBox.
- Return type:
int