Class: Ftpd::NullLogger

Inherits:
Object
  • Object
show all
Defined in:
lib/ftpd/null_logger.rb

Overview

A logger that does not log. Quacks enough like a Logger to fool Ftpd.

Class Method Summary collapse

Class Method Details

.stub(method_name) ⇒ Object



10
11
12
13
# File 'lib/ftpd/null_logger.rb', line 10

def self.stub(method_name)
  define_method method_name do |*args|
  end
end