class Arel::Collectors::Composite

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

# sig/arel/collectors/composite.rbs

class Arel::Collectors::Composite
  def <<: (String str) -> Arel::Collectors::Composite
  def add_bind: ((ActiveRecord::Relation::QueryAttribute | ActiveModel::Attribute::WithCastValue) bind, ) -> Arel::Collectors::Composite
  def initialize: (Arel::Collectors::SQLString left, Arel::Collectors::Bind right) -> void
  def value: () -> untyped
end

def <<(str)

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

def <<: (String str) -> Arel::Collectors::Composite

This signature was generated using 35 samples from 1 application.

def <<(str)
  left << str
  right << str
  self
end

def add_bind(bind, &block)

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

def add_bind: ((ActiveRecord::Relation::QueryAttribute | ActiveModel::Attribute::WithCastValue) bind, ) -> Arel::Collectors::Composite

This signature was generated using 6 samples from 1 application.

def add_bind(bind, &block)
  left.add_bind bind, &block
  right.add_bind bind, &block
  self
end

def add_binds(binds, proc_for_binds = nil, &block)

def add_binds(binds, proc_for_binds = nil, &block)
  left.add_binds(binds, proc_for_binds, &block)
  right.add_binds(binds, proc_for_binds, &block)
  self
end

def initialize(left, right)

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

def initialize: (Arel::Collectors::SQLString left, Arel::Collectors::Bind right) -> void

This signature was generated using 2 samples from 1 application.

def initialize(left, right)
  @left = left
  @right = right
end

def value

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

def value: () -> untyped

This signature was generated using 1 sample from 1 application.

def value
  [left.value, right.value]
end