##// END OF EJS Templates
Adds a builder-like template system for rendering xml and json API responses....
Adds a builder-like template system for rendering xml and json API responses. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4452 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3478:009777062689
r4338:96ce0f017cfe
Show More
_map.rb
23 lines | 413 B | text/x-ruby | RubyLexer
module CodeRay
module Scanners
map \
:h => :c,
:cplusplus => :cpp,
:'c++' => :cpp,
:ecma => :java_script,
:ecmascript => :java_script,
:ecma_script => :java_script,
:irb => :ruby,
:javascript => :java_script,
:js => :java_script,
:nitro => :nitro_xhtml,
:pascal => :delphi,
:plain => :plaintext,
:xhtml => :html,
:yml => :yaml
default :plain
end
end