summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/diff.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2009-06-09 10:41:06 +0000
committermurphy <murphy@rubychan.de>2009-06-09 10:41:06 +0000
commit052399c510acf6bb5ae374b7270acbdf9b861b71 (patch)
tree2d9d6949596dd60cebd1be3925704cf7c4eeb809 /lib/coderay/scanners/diff.rb
parent90d4db43872599ba53fa50836542eab5fb8ff42b (diff)
downloadcoderay-052399c510acf6bb5ae374b7270acbdf9b861b71.tar.gz
New: Plugin.title (closes #96)
The title saves the real name for a language, like "C++"...something that can't be deduced from the class name. And a version fix in the README.
Diffstat (limited to 'lib/coderay/scanners/diff.rb')
-rw-r--r--lib/coderay/scanners/diff.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/coderay/scanners/diff.rb b/lib/coderay/scanners/diff.rb
index d52458c..bfb400b 100644
--- a/lib/coderay/scanners/diff.rb
+++ b/lib/coderay/scanners/diff.rb
@@ -4,6 +4,7 @@ module Scanners
class Diff < Scanner
register_for :diff
+ title 'diff output'
def scan_tokens tokens, options