CodeRay is a library for syntax highlighting, written in Ruby, and running on Ruby implementations.
CodeRay is a library for syntax highlighting, written in Ruby, and running on Ruby implementations.
The Coderay library provides the option to display the code colored by having keywords, strings, floats, comments and other language elements in different colors. Additionally, the line numbers are shown at the beginning of each line.