Module: Kiba::Extend::ErrMod

Instance Method Summary collapse

Instance Method Details

#calling_jobObject



6
7
8
# File 'lib/kiba/extend/error.rb', line 6

def calling_job
  pre_base_job_initialize.reject { |loc| loc.path["kiba-extend"] }.first
end

#infoObject



10
11
12
13
14
# File 'lib/kiba/extend/error.rb', line 10

def info
  puts "#{self.class.name}: #{message}"
  puts "AT:"
  puts backtrace.first(10)
end