Avoid warning: 'circular argument reference' with ruby 2.2.0