lib/sugar-high/string.rb in sugar-high-0.3.3 vs lib/sugar-high/string.rb in sugar-high-0.3.4

- old
+ new

@@ -9,10 +9,10 @@ marker[:marker].to_s else raise ArgumentException, "last argument is the marker and must be a String, Symbol or even Hash with a :marker option pointing to the marker (String or Symbol)" end - marker = Regexp.escape(marker.reverse) + marker = Regexp.escape(marker.to_s.reverse) nl = Regexp.escape("\n") # puts self # puts "marker: #{marker}" # puts "nl: #{nl}" # puts "str: #{str}" \ No newline at end of file