Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Net::SMTP.start arguments are keyword arguments #7

Merged
merged 1 commit into from
Jul 20, 2020

Conversation

tmtm
Copy link
Collaborator

@tmtm tmtm commented Jul 15, 2020

The helo argument is not important, but the helo argument must be specified to specify the user and secret arguments.
If helo, user, secret, and authtype arguments are keyword arguments, it is not necessary to specify the helo argument.

@znz
Copy link
Member

znz commented Jul 18, 2020

Please update the test too.

The helo argument is not important, but the helo argument must be
specified to specify the user and secret arguments.
If helo, user, secret, and authtype arguments are keyword arguments,
it is not necessary to specify the helo argument.
@tmtm
Copy link
Collaborator Author

tmtm commented Jul 19, 2020

I added test.

@knu
Copy link
Member

knu commented Jul 20, 2020

I agree that keyword arguments are far more intuitive than a handful of positional arguments.

@knu knu merged commit e9be1a4 into ruby:master Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants