Class: WhirledPeas::Device::RenderedFrame

Inherits:
Object
  • Object
show all
Defined in:
lib/whirled_peas/device/rendered_frame.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(strokes, duration) ⇒ RenderedFrame

Returns a new instance of RenderedFrame.



6
7
8
9
# File 'lib/whirled_peas/device/rendered_frame.rb', line 6

def initialize(strokes, duration)
  @strokes = strokes
  @duration = duration
end

Instance Attribute Details

#durationObject (readonly)

Returns the value of attribute duration.



4
5
6
# File 'lib/whirled_peas/device/rendered_frame.rb', line 4

def duration
  @duration
end

#strokesObject (readonly)

Returns the value of attribute strokes.



4
5
6
# File 'lib/whirled_peas/device/rendered_frame.rb', line 4

def strokes
  @strokes
end