Permalink
Browse files

Fix typo on module attribute

  • Loading branch information...
1 parent 7bfe1c5 commit 9c6ed02178ed35815ec74b937c02c7ad349a4331 @parroty parroty committed Dec 1, 2013
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 9c6ed02

Please sign in to comment.