Class: HubClient::Logger
- Inherits:
-
Object
- Object
- HubClient::Logger
- Defined in:
- lib/hub_client/logger.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_sym, *args, &block) ⇒ Object
3 4 5 6 7 |
# File 'lib/hub_client/logger.rb', line 3 def method_missing(method_sym, *args, &block) if defined?(Rails) Rails.logger.send(method_sym, *args) end end |