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 | Arel::Nodes::SqlLiteral) str) -> Arel::Collectors::Composite
  def add_bind: ((ActiveModel::Attribute::FromUser | ActiveRecord::Relation::QueryAttribute) 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 | Arel::Nodes::SqlLiteral) str) -> Arel::Collectors::Composite

This signature was generated using 707 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: ((ActiveModel::Attribute::FromUser | ActiveRecord::Relation::QueryAttribute) bind, ) -> Arel::Collectors::Composite

This signature was generated using 107 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 27 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 18 samples from 1 application.

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