# File lib/core/facets/enumerable/filter.rb, line 13 def filter(output=[]) if block_given? each do |*input| yield(output, *input) end output else to_enum(:filter) end end