class ActiveRecord::Associations::Preloader::Branch
def initialize(association:, children:, parent:, associate_by_default:, scope:)
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: (association: nil, children: Symbol, parent: nil, associate_by_default: true, scope: nil) -> void
This signature was generated using 1 sample from 1 application.
def initialize(association:, children:, parent:, associate_by_default:, scope:) @association = association @parent = parent @scope = scope @associate_by_default = associate_by_default @children = build_children(children) @loaders = nil end