class Arel::Collectors::Bind
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/arel/collectors/bind.rbs class Arel::Collectors::Bind def <<: ((String | Arel::Nodes::SqlLiteral) str) -> Arel::Collectors::Bind def add_bind: ((ActiveRecord::Relation::QueryAttribute | ActiveModel::Attribute::FromUser | ActiveModel::Attribute::WithCastValue) bind) -> Arel::Collectors::Bind def initialize: () -> 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::Bind
This signature was generated using 724 samples from 2 applications.
def <<(str) self end
def add_bind(bind)
Experimental RBS support (using type sampling data from the type_fusion
project).
def add_bind: ((ActiveRecord::Relation::QueryAttribute | ActiveModel::Attribute::FromUser | ActiveModel::Attribute::WithCastValue) bind) -> Arel::Collectors::Bind
This signature was generated using 83 samples from 2 applications.
def add_bind(bind) @binds << bind self end
def add_binds(binds, proc_for_binds = nil)
def add_binds(binds, proc_for_binds = nil) @binds.concat proc_for_binds ? binds.map(&proc_for_binds) : binds self end
def initialize
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: () -> void
This signature was generated using 26 samples from 1 application.
def initialize @binds = [] end
def value
Experimental RBS support (using type sampling data from the type_fusion
project).
def value: () -> untyped
This signature was generated using 21 samples from 1 application.
def value @binds end