Class: Falcon::Command::Supervisor::Restart
- Inherits:
 - 
      Samovar::Command
      
        
- Object
 - Samovar::Command
 - Falcon::Command::Supervisor::Restart
 
 
- Defined in:
 - lib/falcon/command/supervisor.rb
 
Overview
Implements the `falcon supervisor restart` command.
Instance Method Summary collapse
- 
  
    
      #call(stream)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Send the restart message to the supervisor.
 
Instance Method Details
#call(stream) ⇒ Object
Send the restart message to the supervisor.
      49 50 51  | 
    
      # File 'lib/falcon/command/supervisor.rb', line 49 def call(stream) stream.puts({please: 'restart'}.to_json, separator: "\0") end  |