mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-18 10:20:43 -07:00
Migrated from liquid-for-programmers v5
@@ -58,7 +58,7 @@ All tag blocks are parsed by liquid. To create a new block you just have to inhe
|
||||
|
||||
<pre><code>
|
||||
class Random < Liquid::Block
|
||||
def initialize(markup, tokens)
|
||||
def initialize(tag_name, markup, tokens)
|
||||
super
|
||||
@rand = markup.to_i
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user