Skip to content

Inconsistant argument with method === 'letters'#58

Open
QuentinRoy wants to merge 1 commit intodavatron5000:masterfrom
QuentinRoy:letter-args
Open

Inconsistant argument with method === 'letters'#58
QuentinRoy wants to merge 1 commit intodavatron5000:masterfrom
QuentinRoy:letter-args

Conversation

@QuentinRoy
Copy link

When called with 'letters' as arguments, 'letters' is passed as an argument to the init method.
Even if arguments are ignored anyway, it bothered me a little bit.

…rgument to the init method which is inconsistant with the other call.

Rename the init method to 'letters' and call it with no argument if the method parameter is not provided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants