Class: MIME::Types::WarnLogger::WarnLogDevice
- Inherits:
-
Logger::LogDevice
- Object
- Logger::LogDevice
- MIME::Types::WarnLogger::WarnLogDevice
- Defined in:
- lib/mime/types/logger.rb
Overview
:nodoc:
Instance Method Summary collapse
- #close ⇒ Object
-
#initialize ⇒ WarnLogDevice
constructor
A new instance of WarnLogDevice.
- #write(m) ⇒ Object
Constructor Details
#initialize ⇒ WarnLogDevice
Returns a new instance of WarnLogDevice.
17 18 |
# File 'lib/mime/types/logger.rb', line 17 def initialize(*) end |
Instance Method Details
#close ⇒ Object
24 25 |
# File 'lib/mime/types/logger.rb', line 24 def close end |
#write(m) ⇒ Object
20 21 22 |
# File 'lib/mime/types/logger.rb', line 20 def write(m) Kernel.warn(m) end |