lib/junoser/ruler.rb in junoser-0.3.2 vs lib/junoser/ruler.rb in junoser-0.3.3

- old
+ new

@@ -141,9 +141,14 @@ ' a(arg, arg)'], '') end str.gsub!(/^(\s*)c\(\s*arg,$/) { "#{$1}ca(" } + str.gsub!(/^(\s*)"location" arg,\s*"contact" arg,/) do + format(['"location" (quote | arg),', + '"contact" (quote | arg),'], $1) + end + str end def format(str, offset=OFFSET) case str