class TRecs::InMemoryWriter

Attributes

frames[R]
recorder[RW]

Public Instance Methods

create_frame(options={}) click to toggle source
# File lib/trecs/writers/in_memory_writer.rb, line 10
def create_frame(options={})
  time = options.fetch(:time)
  content = options.fetch(:content)
  @frames[time] = content
end
render_frames(frames) click to toggle source
# File lib/trecs/writers/in_memory_writer.rb, line 16
def render_frames(frames)
  @frames = frames
end
setup() click to toggle source
# File lib/trecs/writers/in_memory_writer.rb, line 6
def setup
  @frames = {}
end