class Spectator::Mocks::Call(Args)
  
  - Spectator::Mocks::Call(Args)
- Spectator::Mocks::AbstractCall
- Reference
- Object
Overview
Information about a method call and the arguments passed to it.
Defined in:
spectator/mocks/call.crConstructors
- 
        .new(method_name : Symbol, arguments : Args)
        
          Creates the method call. 
- 
        .new(method_name : Symbol)
        
          Creates a method call with no arguments. 
Macro Summary
- 
        capture
        
          Creates a method call containing from the current invocation. 
Instance Method Summary
- 
        #arguments : Args
        
          Arguments passed to the method. 
- 
        #match?(stub : Stub) : Bool
        
          Dispatch for comparing a concrete call to a concrete stub. 
- 
        #method_name : Symbol
        
          Name of the method. 
- 
        #to_s(io : IO) : Nil
        
          Produces the string representation of the method call. 
Instance methods inherited from class Spectator::Mocks::AbstractCall
  
  
    
      match?(stub : Stub) : Bool
    match?
    
  
    
    
    
  
    
    
    
    
  
    
    
    
    
  
Constructor Detail
Macro Detail
Instance Method Detail
              Description copied from class Spectator::Mocks::AbstractCall
            
          
          Dispatch for comparing a concrete call to a concrete stub.