summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/_map.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2005-11-06 01:28:19 +0000
committermurphy <murphy@rubychan.de>2005-11-06 01:28:19 +0000
commitcadd995d6b44dc5e2145904ea0a0fba95a6643b9 (patch)
tree2736fa1ffe3d4c844cc8b9d2749174f88cf21f07 /lib/coderay/scanners/_map.rb
parent681b5008d2cf42bf61503a91ffe48c17430141ab (diff)
downloadcoderay-cadd995d6b44dc5e2145904ea0a0fba95a6643b9.tar.gz
helpers/plugin.rb: New plugin mapping system
_maps added; demos adjusted TODO updated
Diffstat (limited to 'lib/coderay/scanners/_map.rb')
-rw-r--r--lib/coderay/scanners/_map.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/coderay/scanners/_map.rb b/lib/coderay/scanners/_map.rb
new file mode 100644
index 0000000..811546b
--- /dev/null
+++ b/lib/coderay/scanners/_map.rb
@@ -0,0 +1,10 @@
+module CodeRay
+ module Scanners
+
+ map :cpp => :c,
+ :plain => :plaintext,
+ :pascal => :delphi,
+ :irb => :ruby
+
+ end
+end