# File lib/facets/core/enumerable/each_by.rb, line 16 def each_by(step=nil, &yld) if step each_slice(step,&yld) else step = yld.arity.abs each_slice(step,&yld) end end