More that it is a facility for embedded documentation:
http://www.ruby-doc.org/docs/ProgrammingRuby/html/rdtool.html