module CodeRay::PluginHost

def list

The extension .rb is not included.

Returns an array of all .rb files in the plugin path.
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