Sha256: 7f1223d3a2eef52eae4681e5b3265d5cd68c1fd1cda793ace4825cc60ac117a4
Contents?: true
Size: 487 Bytes
Versions: 13
Compression:
Stored size: 487 Bytes
Contents
CodeHighlighter.addStyle("rb",{ 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|raise)\b/ }, constant : { exp : /\b([A-Z]\w+)\b/ }, ivar : { exp : /([^@])(@{1,2}\w+)\b/ }, ns : { exp : /(:{2,})/ }, symbol : { exp : /(:[A-Za-z0-9_!?]+)/ } });
Version data entries
13 entries across 13 versions & 5 rubygems