Method: CommandJobLog#display_message

Defined in:
lib/app/models/command_job_log.rb

#display_messageObject

Display message



26
27
28
29
30
31
32
# File 'lib/app/models/command_job_log.rb', line 26

def display_message
  if dir.present?
    "Dir: #{dir}\nCommand: #{command}\nOutput: #{message}"
  else
    message
  end
end