class Falcon::Command::Supervisor::Restart

Implements the `falcon supervisor restart` command.

Public Instance Methods

call(stream) click to toggle source

Send the restart message to the supervisor.

# File lib/falcon/command/supervisor.rb, line 49
def call(stream)
        stream.puts({please: 'restart'}.to_json, separator: "\0")
end