Class: Ponder::Logger::BlindIo

Inherits:
Object
  • Object
show all
Defined in:
lib/ponder/logger/blind_io.rb

Instance Method Summary collapse

Constructor Details

#initializeBlindIo

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