|
| 08 Mar 2017 07:46 PM |
Is the only way to use a tuple/variadic?
|
|
|
| Report Abuse |
|
|
| 08 Mar 2017 07:50 PM |
They're optional by default. If they're not specified, they're replaced with nil. If you want to set a default value, then do something like:
parameter = parameter or 1
|
|
|
| Report Abuse |
|
| |