Skip to content

Conversation

@fz-ryanbigg
Copy link

If the #count method has never been called then @current_count is nil, resulting in an error when calling #error. Using the method which initialises ensures this doesn't occur.

If the #count method has never been called then @current_count is nil, resulting in an error when calling
#error. Using the method which initialises ensures this doesn't occur.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants