Method: Cyclid::API::StringFIFO#initialize
- Defined in:
- app/cyclid/log_buffer.rb
#initialize ⇒ StringFIFO
Returns a new instance of StringFIFO.
23 24 25 26 27 |
# File 'app/cyclid/log_buffer.rb', line 23 def initialize @buffer = String.new @write_pos = 0 @read_pos = 0 end |