wanelo/compositor

View on GitHub
lib/compositor/renderer/iterator.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Compositor
  module Renderer
    class Iterator < Base
      def render
        result = []
        collection.each do |item|
          result << item.to_hash
        end
        result
      end
    end
  end
end