abstract class Spectator::Mocks::GenericMethodStub(ReturnType)
  
  
    
  
    Direct Known Subclasses
  
  
  
    
  
    Defined in:
  
  
    
      
        spectator/mocks/generic_method_stub.cr
      
    
    
  
  
    
  
    Constructors
  
  
  
    
  
    Instance Method Summary
  
  
  
    
  
  
  
    
      call(args : GenericArguments(T, NT), & :  -> RT) forall T, NT, RT
    call, 
    
  
    
      call!(args : GenericArguments(T, NT), & :  -> RT) : RT forall T, NT, RT
    call!, 
    
  
    
      callable?(call : MethodCall) : Bool
    callable?, 
    
  
    
      location : Location
    location, 
    
  
    
      name : Symbol
    name, 
    
  
    
      to_s(io)
    to_s
    
  
    
  
  
  
    
      new(name : Symbol, location : Spectator::Location)
    new
    
  
    
  
    
    
    
  
    
  Instance methods inherited from class Object
  
  
    
      should(matcher, message = nil)
    should, 
    
  
    
      should_eventually(matcher, message = nil)
    should_eventually, 
    
  
    
      should_never(matcher, message = nil)
    should_never, 
    
  
    
      should_not(matcher, message = nil)
    should_not
    
  
    
    
  
 
  
    
  
    Constructor Detail
  
  
    
      
        
        def self.
new(name, location, args : 
Arguments | Nil = 
nil)
        
#
       
  
  
    
  
    Instance Method Detail