Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Commit

Permalink
use class ivar
Browse files Browse the repository at this point in the history
  • Loading branch information
twelvelabs committed Aug 13, 2013
1 parent ea723c4 commit 122db04
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/resque/failure/sentry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ module Failure
#
class Sentry < Base

@@logger = nil

def self.logger
@@logger
@logger
end

def self.logger=(value)
@@logger = value
@logger = value
end

def save
Expand Down

0 comments on commit 122db04

Please sign in to comment.