class Werk::Utils::PrefixIO
- Werk::Utils::PrefixIO
- IO
- Reference
- Object
Defined in:
werk/utils/prefix.crConstructors
-
.new(output : IO, prefix : String)
Creates a new instance that will use output to write to
Instance Method Summary
-
#read(slice : Bytes)
Does nothing, reading is disabled for this IO
-
#write(slice : Bytes) : Nil
Adds a defined stamp for each incoming line
Constructor Detail
def self.new(output : IO, prefix : String)
#
Creates a new instance that will use output to write to