summaryrefslogtreecommitdiff
path: root/inc/geshi/ruby.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-01-22 13:53:27 +0100
committerAndreas Gohr <andi@splitbrain.org>2006-01-22 13:53:27 +0100
commit3971c1cc98ea6a7d389ba5404df61e523184f3bc (patch)
treed58c80eb77f236bd80ba02e218b0e66b2c178d6b /inc/geshi/ruby.php
parentb9ac8716a5af742f88887fb9c1315b0e01d244a3 (diff)
downloadrpg-3971c1cc98ea6a7d389ba5404df61e523184f3bc.tar.gz
rpg-3971c1cc98ea6a7d389ba5404df61e523184f3bc.tar.bz2
GeSHi updated to 1.0.7.6
darcs-hash:20060122125327-7ad00-3850bd0d928235a39fd19d79b306259f3139ba75.gz
Diffstat (limited to 'inc/geshi/ruby.php')
-rw-r--r--inc/geshi/ruby.php18
1 files changed, 11 insertions, 7 deletions
diff --git a/inc/geshi/ruby.php b/inc/geshi/ruby.php
index 059f4f798..f0b6f1357 100644
--- a/inc/geshi/ruby.php
+++ b/inc/geshi/ruby.php
@@ -4,15 +4,18 @@
* --------
* Author: Amit Gupta (http://blog.igeek.info/)
* Copyright: (c) 2005 Amit Gupta (http://blog.igeek.info/)
- * Release Version: 1.0.7.5
- * CVS Revision Version: $Revision: 1.3 $
+ * Release Version: 1.0.7.6
+ * CVS Revision Version: $Revision: 1.6 $
* Date Started: 2005/09/05
- * Last Modified: $Date: 2005/10/22 07:52:59 $
+ * Last Modified: $Date: 2006/01/05 06:36:24 $
*
* Ruby language file for GeSHi
*
* CHANGES
* -------
+ * 2006/01/05 (1.0.1)
+ * - Add =begin multiline comments (Juan J. Martínez)
+ * - Add ` string (Juan J. Martínez)
* 2005/09/05 (1.0.0)
* - First Release
*
@@ -44,9 +47,9 @@
$language_data = array (
'LANG_NAME' => 'Ruby',
'COMMENT_SINGLE' => array(1 => "#"),
- 'COMMENT_MULTI' => array(),
- 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
- 'QUOTEMARKS' => array('"'),
+ 'COMMENT_MULTI' => array( "=begin" => "=end"),
+ 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
+ 'QUOTEMARKS' => array('"', '`'),
'ESCAPE_CHAR' => '\\',
'KEYWORDS' => array(
1 => array(
@@ -90,7 +93,8 @@ $language_data = array (
3 => 'color:#CC0066; font-weight:bold;'
),
'COMMENTS' => array(
- 1 => 'color:#008000; font-style:italic;'
+ 1 => 'color:#008000; font-style:italic;',
+ 'MULTI' => 'color:#000080; font-style:italic;'
),
'ESCAPE_CHAR' => array(
0 => 'color:#000099;'