mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
Array is a Enumerable
This commit is contained in:
@@ -305,7 +305,7 @@ module Liquid
|
||||
|
||||
def initialize(input)
|
||||
@input =
|
||||
if input.is_a?(Array) || input.kind_of?(Enumerable)
|
||||
if input.kind_of?(Enumerable)
|
||||
input
|
||||
else
|
||||
Array(input)
|
||||
|
||||
Reference in New Issue
Block a user