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