Skip to content

Default Arguments to Nil

Compare
Choose a tag to compare
@adamhartford adamhartford released this 08 Apr 17:30
· 63 commits to master since this release

No longer need to pass nil/empty arguments.

myHub.invoke("someMethod", arguments: nil)

can become...

myHub.invoke("someMethod")