Sha256: 55df75b0c7f6330073d5de9740059509eaf0821b95dd85fd61cbd02ffa3adff9
Contents?: true
Size: 513 Bytes
Versions: 43
Compression:
Stored size: 513 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
43 entries across 43 versions & 3 rubygems