Permalink
Browse files

Merge pull request #165 from parroty/fix

Fix typo on module attribute
  • Loading branch information...
josevalim committed Dec 1, 2013
2 parents 7bfe1c5 + 9c6ed02 commit 6e92de08f7e20e23264f8a24a2f1b1aeb04f96a3
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/dynamo/templates/renderer.ex
@@ -82,7 +82,7 @@ defmodule Dynamo.Templates.Renderer do
end
defp raise_too_busy(Template[identifier: identifier]) do
- raise "Compiling template #{inspect identifier} exceeded the max number of attempts #{@max_attemps}. What gives?"
+ raise "Compiling template #{inspect identifier} exceeded the max number of attempts #{@max_attempts}. What gives?"
end
## Backend
@@ -137,7 +137,7 @@ defmodule Dynamo.Templates.Renderer do
:code.purge(module)
end
- defp generate_suggestion(name, attempts) when attempts < @max_attemps do
+ defp generate_suggestion(name, attempts) when attempts < @max_attempts do
random = :random.uniform(@slots)
module = Module.concat(name, "T#{random}")

0 comments on commit 6e92de0

Please sign in to comment.