Class: Vetinari::Logging::LoggerList

Inherits:
Array
  • Object
show all
Defined in:
lib/vetinari/logging/logger_list.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method_name, *args, &block) ⇒ Object



12
13
14
15
16
# File 'lib/vetinari/logging/logger_list.rb', line 12

def method_missing(method_name, *args, &block)
  each do |logger|
    logger.send(method_name, *args, &block)
  end
end