jeremyevans / rodauth

Ruby's Most Advanced Authentication Framework
http://rodauth.jeremyevans.net
MIT License
1.67k stars 95 forks source link

Fix typo in docs #230

Closed v-kolesnikov closed 2 years ago

v-kolesnikov commented 2 years ago

Changes

jeremyevans commented 2 years ago

Thank you for taking the time to submit a pull request. In this case, these extra commas aren't typos. Starting in Ruby 1.9, you can use trailing commas in method calls (and other places), even if nothing follows them. Trailing commas are often used in code like this (one argument per line), because when adding arguments, you don't need to modify an existing line.

v-kolesnikov commented 2 years ago

Completely forgot this mechanic. Thank you for explanation!