Namespace
Methods
P
Instance Public methods
perform(person = "david")
# File activejob/test/jobs/rescue_job.rb, line 17
def perform(person = "david")
  case person
  when "david"
    raise ArgumentError, "Hair too good"
  when "other"
    raise OtherError
  else
    JobBuffer.add('performed beautifully')
  end
end