From: Ryan Davis Date: 2012-06-15T17:18:24+09:00 Subject: Re: Syntax Highlighter On Jun 15, 2012, at 00:38 , Ralf Mueller wrote: > Coderay seems to be well prepared for a plugin structure. The additions for the fortran scanner are very little: only one additional file + the extension of a single Hash (which is responsible for choosing a parser for files with a given extension). It would be, if it used this: def list Gem.find_files("coderay/scanners/*.rb") end instead of: def list Dir[path_to('*')].select do |file| File.basename(file)[/^(?!_)\w+\.rb$/] end.map do |file| File.basename(file, '.rb').to_sym end end