Class: Flounder::Domain::NilDevice

Inherits:
Object
  • Object
show all
Defined in:
lib/flounder/domain.rb

Overview

A device that discards all logging made to it. This is used to be silent by default while still allowing the logging of all queries.

Instance Method Summary collapse

Instance Method Details

#close(*args) ⇒ Object



14
15
# File 'lib/flounder/domain.rb', line 14

def close *args
end

#write(*args) ⇒ Object



12
13
# File 'lib/flounder/domain.rb', line 12

def write *args
end