You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: children.rb
    path of file: ./repos/hyper-react/lib/react
    
    the code of the file until where you have to start completion: module React
  class Children
    include Enumerable

    def initialize(children)
      @children = children
    end

    def render
      each(&:render)
    end

    def to_proc
      -> () { render }
    end

    def each(&bl
    
    def each(&block)
      return to_enum(__callee__) { length } unless block_given?
      return [] unless length > 0
      collection = []
      %x{
        React.Children.forEach(#{@children}, function(context){
          #{
            element = React::Element.new(`context`)
            block.call(element)
            collection << element
          }
        })
      }
      collection
    end