Class: Resqued::Logging::ResquedLoggingIOWrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/resqued/logging.rb

Overview

Private: Lets our logger reopen its logfile without monologger EVEN KNOWING.

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*args) ⇒ Object



27
28
29
# File 'lib/resqued/logging.rb', line 27

def method_missing(*args)
  ::Resqued::Logging.logging_io.send(*args)
end

Instance Method Details

#respond_to?(*args) ⇒ Boolean

Returns:

  • (Boolean)


31
32
33
# File 'lib/resqued/logging.rb', line 31

def respond_to?(*args)
  ::Resqued::Logging.logging_io.respond_to?(*args)
end