Method: Cyclid::API::StringFIFO#write

Defined in:
app/cyclid/log_buffer.rb

#write(data) ⇒ Object

Append data to the buffer & update the write position



30
31
32
33
# File 'app/cyclid/log_buffer.rb', line 30

def write(data)
  @buffer += data
  @write_pos += data.length
end