Class: Resque::Failure::Redis
- Inherits:
-
Object
- Object
- Resque::Failure::Redis
- Defined in:
- lib/resque_ui/overrides/resque/failure/redis.rb
Instance Method Summary collapse
Instance Method Details
#filter_backtrace(backtrace) ⇒ Object
5 6 7 8 |
# File 'lib/resque_ui/overrides/resque/failure/redis.rb', line 5 def filter_backtrace(backtrace) index = backtrace.index { |item| item.include?('/lib/resque_ui/overrides/resque/job.rb') } backtrace.first(index.to_i) end |