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
eric-god-0.7.14 site/javascripts/ruby.js
mathieuravaux-god-0.7.11 site/javascripts/ruby.js
mojombo-god-0.7.14 site/javascripts/ruby.js
mojombo-god-0.7.15 site/javascripts/ruby.js
mojombo-god-0.7.16 site/javascripts/ruby.js
mojombo-god-0.7.20 site/javascripts/ruby.js
lookout-clickatell-0.8.3 website/javascripts/codehighlighter/ruby.js
clickatell-0.8.2 website/javascripts/codehighlighter/ruby.js
clickatell-0.8.1 website/javascripts/codehighlighter/ruby.js
clickatell-0.8.0 website/javascripts/codehighlighter/ruby.js
clickatell-ruby19-0.7.1 website/javascripts/codehighlighter/ruby.js
olgen-god-0.9.2 site/javascripts/ruby.js
olgen-god-0.9.1 site/javascripts/ruby.js
olgen-god-0.9.0 site/javascripts/ruby.js
clickatell-0.7.1 website/javascripts/codehighlighter/ruby.js
god-0.8.0 site/javascripts/ruby.js
olgen-god-0.8.2 site/javascripts/ruby.js
olgen-god-0.8.1 site/javascripts/ruby.js
olgen-god-0.8.0 site/javascripts/ruby.js
god-0.7.22 site/javascripts/ruby.js