From b01222778d500b8fff6af5d6bfd8ddafd74b7e6e Mon Sep 17 00:00:00 2001 From: EmmanuelOga Date: Thu, 12 Aug 2010 13:45:53 -0700 Subject: [PATCH] Migrated from liquid-for-programmers v5 --- Liquid-for-Programmers.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Liquid-for-Programmers.textile b/Liquid-for-Programmers.textile index 13c1692..18b613a 100644 --- a/Liquid-for-Programmers.textile +++ b/Liquid-for-Programmers.textile @@ -58,7 +58,7 @@ All tag blocks are parsed by liquid. To create a new block you just have to inhe

   class Random < Liquid::Block                                             
-    def initialize(markup, tokens)
+    def initialize(tag_name, markup, tokens)
        super 
        @rand = markup.to_i
     end