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) -> untyped
  def add_bind: (ActiveRecord::Relation::QueryAttribute bind, ) -> untyped
  def initialize: (Arel::Collectors::SQLString left, Arel::Collectors::Bind right) -> void
end

def <<(str)

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

def <<: (String str) -> untyped

This signature was generated using 3 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 bind, ) -> untyped

This signature was generated using 1 sample 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

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