Permalink
Browse files

Regex.replace_all is gone

  • Loading branch information...
1 parent 48d6843 commit 0c0b7d2ea0f4c91d90b193c79d422e61654849ec @josevalim josevalim committed Dec 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.html
View
@@ -82,7 +82,7 @@
{% highlight ruby %}
{ :ok, file } = File.iterator("README.md")
-lines = Enum.map(file, fn(line) -> Regex.replace_all(%r/"/, line, "'") end)
+lines = Enum.map(file, fn(line) -> Regex.replace(%r/"/, line, "'") end)
File.write("README.md", lines)
{% endhighlight %}
</div>

0 comments on commit 0c0b7d2

Please sign in to comment.