Class: Resqued::Logging::ResquedLoggingIOWrapper
- Inherits:
-
Object
- Object
- Resqued::Logging::ResquedLoggingIOWrapper
- Defined in:
- lib/resqued/logging.rb
Overview
Private: Lets our logger reopen its logfile without monologger EVEN KNOWING.
Instance Method Summary collapse
-
#method_missing(*args) ⇒ Object
rubocop: disable Style/MethodMissingSuper.
-
#respond_to_missing?(method) ⇒ Boolean
rubocop: enable Style/MethodMissingSuper.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(*args) ⇒ Object
rubocop: disable Style/MethodMissingSuper
33 34 35 |
# File 'lib/resqued/logging.rb', line 33 def method_missing(*args) ::Resqued::Logging.logging_io.send(*args) end |
Instance Method Details
#respond_to_missing?(method) ⇒ Boolean
rubocop: enable Style/MethodMissingSuper
38 39 40 |
# File 'lib/resqued/logging.rb', line 38 def respond_to_missing?(method, *) ::Resqued::Logging.logging_io.respond_to?(method) end |