I thought it was kinda cool that super
and super()
offer different behaviours, with the latter calling the parent method without passing it arguments.
This is the first case I'm aware of of a ruby method/keyword that behaves differently depending on whether the ()
are included (more on that here).
Are there any other methods/keywords in the ruby programming language which exhibit different behaviour depending on whether the ()
are included?