# File lib/backports/1.9.1/enumerable/each_with_object.rb, line 3 def each_with_object(memo) return to_enum(:each_with_object, memo) unless block_given? each {|obj| yield obj, memo} memo end