For now, CodeRay is still Ruby 1.8-compatible. Can you use the old has syntax, please?