Freeze all the things

This commit is contained in:
Florian Weingarten
2014-01-07 12:35:16 -05:00
parent 0388376925
commit 43ac8d560b
32 changed files with 166 additions and 165 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ module Liquid
end
def self.non_blank_string?(collection)
collection.is_a?(String) && collection != ''
collection.is_a?(String) && collection != ''.freeze
end
def self.slice_collection_using_each(collection, from, to)