Sha256: 189953db3ae04ce2c5ce630a2c93a35ac4763f1c9f0031db91995da0695f367b

Contents?: true

Size: 418 Bytes

Versions: 42

Compression:

Stored size: 418 Bytes

Contents

CodeHighlighter.addStyle("ruby",{
	comment : {
		exp  : /#[^\n]+/
	},
	brackets : {
		exp  : /\(|\)/
	},
	string : {
		exp  : /'[^']*'|"[^"]*"/
	},
	keywords : {
		exp  : /\b(do|end|self|class|def|if|module|yield|then|else|for|until|unless|while|elsif|case|when|break|retry|redo|rescue|require|raise)\b/
	},
	/* Added by Shelly Fisher (shelly@agileevolved.com) */
	symbol : {
	  exp : /([^:])(:[A-Za-z0-9_!?]+)/
	}
});

Version data entries

42 entries across 42 versions & 9 rubygems

Version Path
god-0.7.21 site/javascripts/ruby.js
god-0.7.20 site/javascripts/ruby.js
god-0.7.19 site/javascripts/ruby.js
god-0.7.18 site/javascripts/ruby.js
god-0.7.17 site/javascripts/ruby.js
god-0.7.16 site/javascripts/ruby.js
god-0.7.15 site/javascripts/ruby.js
god-0.7.14 site/javascripts/ruby.js
capitate-0.2.15 website/javascripts/ruby.js
capitate-0.2.14 website/javascripts/ruby.js
capitate-0.2.13 website/javascripts/ruby.js
capitate-0.3.5 website/javascripts/ruby.js
capitate-0.3.4 website/javascripts/ruby.js
capitate-0.3.1 website/javascripts/ruby.js
capitate-0.3.2 website/javascripts/ruby.js
capitate-0.3.3 website/javascripts/ruby.js
clickatell-0.1.0 website/javascripts/codehighlighter/ruby.js
clickatell-0.3.0 website/javascripts/codehighlighter/ruby.js
clickatell-0.5.0 website/javascripts/codehighlighter/ruby.js
clickatell-0.4.1 website/javascripts/codehighlighter/ruby.js