Class: Arel::Collectors::Bind
- Inherits:
 - 
      Object
      
        
- Object
 - Arel::Collectors::Bind
 
 
- Defined in:
 - lib/arel/collectors/bind.rb
 
Instance Method Summary collapse
- #<<(str) ⇒ Object
 - #add_bind(bind) ⇒ Object
 - 
  
    
      #initialize  ⇒ Bind 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Bind.
 - #value ⇒ Object
 
Constructor Details
#initialize ⇒ Bind
Returns a new instance of Bind.
      6 7 8  | 
    
      # File 'lib/arel/collectors/bind.rb', line 6 def initialize @binds = [] end  | 
  
Instance Method Details
#<<(str) ⇒ Object
      10 11 12  | 
    
      # File 'lib/arel/collectors/bind.rb', line 10 def <<(str) self end  | 
  
#add_bind(bind) ⇒ Object
      14 15 16 17  | 
    
      # File 'lib/arel/collectors/bind.rb', line 14 def add_bind(bind) @binds << bind self end  | 
  
#value ⇒ Object
      19 20 21  | 
    
      # File 'lib/arel/collectors/bind.rb', line 19 def value @binds end  |