class Werk::Utils::PrefixIO

Defined in:

werk/utils/prefix.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(output : IO, prefix : String) #

Creates a new instance that will use output to write to


[View source]

Instance Method Detail

def read(slice : Bytes) #

Does nothing, reading is disabled for this IO


[View source]
def write(slice : Bytes) : Nil #

Adds a defined stamp for each incoming line


[View source]