# File lib/liquid/standardfilters.rb, line 90 def map(input, property) ary = [input].flatten if ary.first.respond_to?('[]') and !ary.first[property].nil? ary.map {|e| e[property] } elsif ary.first.respond_to?(property) ary.map {|e| e.send(property) } end end