lib/card/content.rb in card-1.91 vs lib/card/content.rb in card-1.92

- old
+ new

@@ -48,9 +48,13 @@ # sends &block to #process_chunk on each Chunk object def process_each_chunk &block each_chunk { |chunk| chunk.process_chunk(&block) } end + def pieces + Array.wrap(__getobj__) + end + def each_chunk return enum_for(:each_chunk) unless block_given? iterator = case __getobj__