(endQuote, tokenize)
| 136 | } |
| 137 | |
| 138 | function rubyInQuote(endQuote, tokenize) { |
| 139 | // TODO: add multi line support |
| 140 | return function(stream, state) { |
| 141 | var ch = stream.peek(); |
| 142 | if (ch == endQuote && state.rubyState.tokenize.length == 1) { |
| 143 | // step out of ruby context as it seems to complete processing all the braces |
| 144 | stream.next(); |
| 145 | state.tokenize = tokenize; |
| 146 | return "closeAttributeTag"; |
| 147 | } else { |
| 148 | return ruby(stream, state); |
| 149 | } |
| 150 | }; |
| 151 | } |
| 152 | function startRubySplat(tokenize) { |
| 153 | var rubyState; |
| 154 | var runSplat = function(stream, state) { |
no test coverage detected