class ActiveRecord::Associations::Preloader::Branch

def build_children(children)

Experimental RBS support (using type sampling data from the type_fusion project).

def build_children: (Symbol children) -> untyped

This signature was generated using 2 samples from 1 application.

def build_children(children)
  Array.wrap(children).flat_map { |association|
    Array(association).flat_map { |parent, child|
      Branch.new(
        parent: self,
        association: parent,
        children: child,
        associate_by_default: associate_by_default,
        scope: scope
      )
    }
  }
end