Class: Ponder::Logger::BlindIo
- Inherits:
-
Object
- Object
- Ponder::Logger::BlindIo
- Defined in:
- lib/ponder/logger/blind_io.rb
Instance Method Summary collapse
-
#initialize ⇒ BlindIo
constructor
A new instance of BlindIo.
Constructor Details
#initialize ⇒ BlindIo
Returns a new instance of BlindIo.
4 5 6 7 8 |
# File 'lib/ponder/logger/blind_io.rb', line 4 def initialize [:debug, :info, :warn, :error, :fatal, :unknown, :start_logging, :stop_logging].each do |method_name| self.class.send(:define_method, method_name, Proc.new { |*args| nil }) end end |