Sha256: 3f36f7eb2e84dbda67af1310c8cfd5292d72bcc16094fd7f33ed3cd9404eba8e

Contents?: true

Size: 181 Bytes

Versions: 3

Compression:

Stored size: 181 Bytes

Contents

module Compositor
  module Renderer
    class Iterator < Base
      def render
        collection.inject([]) { |memo, item| memo << item.to_hash; memo }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
compositor-0.1.4 lib/compositor/renderer/iterator.rb
compositor-0.1.3 lib/compositor/renderer/iterator.rb
compositor-0.1.1 lib/compositor/renderer/iterator.rb