I have tried using this trick from another thread in latest Ruby, and I got this strange result:
class Numeric def percents \'%s%%\' % (self * 100