class Epi::Cli::Commands::Status

Public Instance Methods

run() click to toggle source
# File lib/epi/cli/commands/status.rb, line 6
def run
  if Epi::Daemon.running?
    Epi::Daemon.send :status
  else
    Epi::Daemon.send(:start) { Epi::Daemon.send :status }
  end
end