|
Renaming. Ruby implementations should (if possible) not need to call super() when they define an initialize. It is a frequent source of confusion. I have no suggestions at the moment on how this should be fixed.
My patch to fix this issue....
Committed in 2669. This has a minor tweak from attached patch in bug to allow arbitrary number of arguments in initialize.
|
|||||||||||||||||||||||||||||||||||||||||||||||||
At any rate, as a workaround replace:
class NSCT1 < NamespaceContext def initialize foo # doesn't need to do anything end ...with:
class NSCT1 < NamespaceContext def initialize foo super() # doesn't need to do anything end ...