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



8
9
10
11
# File 'lib/ftpd/null_logger.rb', line 8

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