class OutputBuffer

Attributes

buffer[R]

Public Class Methods

new() click to toggle source
# File lib/script_executor/output_buffer.rb, line 4
def initialize
  @buffer = []
end

Public Instance Methods

save(line) click to toggle source
# File lib/script_executor/output_buffer.rb, line 8
def save(line)
  buffer << line
end