Method: Log::File#initialize
- Defined in:
- lib/log/file.rb
#initialize(out) ⇒ File
Returns a new instance of File.
26 27 28 29 30 31 |
# File 'lib/log/file.rb', line 26 def initialize(out) @out = nil @default_type = :error @buffer = "" reopen(out) end |