remove unnecessary flatten filter

This commit is contained in:
Florian Weingarten
2014-07-24 02:56:57 +00:00
parent 0b45ffeada
commit eae24373e6
2 changed files with 0 additions and 15 deletions
-5
View File
@@ -127,11 +127,6 @@ module Liquid
end
end
# flatten the given input
def flatten(input)
Array(input).flatten
end
# Replace occurrences of a string with another
def replace(input, string, replacement = ''.freeze)
input.to_s.gsub(string, replacement.to_s)