lib/nydp/tokeniser.rb in nydp-0.1.14 vs lib/nydp/tokeniser.rb in nydp-0.1.15
- old
+ new
@@ -25,10 +25,10 @@
scanner.scan(delim)
end
def next_string_fragment open_delimiter, close_delimiter, interpolation_sign, interpolation_escapes={ }
s = @scanner
- rep = "#{open_delimiter}"
+ rep = open_delimiter.to_s
string = ""
while (!no_more?)
if esc = s.scan(/\\/)
rep << esc
ch = s.getch