Class: WhirledPeas::Device::RenderedFrame
- Inherits:
-
Object
- Object
- WhirledPeas::Device::RenderedFrame
- Defined in:
- lib/whirled_peas/device/rendered_frame.rb
Instance Attribute Summary collapse
-
#duration ⇒ Object
readonly
Returns the value of attribute duration.
-
#strokes ⇒ Object
readonly
Returns the value of attribute strokes.
Instance Method Summary collapse
-
#initialize(strokes, duration) ⇒ RenderedFrame
constructor
A new instance of RenderedFrame.
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
#duration ⇒ Object (readonly)
Returns the value of attribute duration.
4 5 6 |
# File 'lib/whirled_peas/device/rendered_frame.rb', line 4 def duration @duration end |
#strokes ⇒ Object (readonly)
Returns the value of attribute strokes.
4 5 6 |
# File 'lib/whirled_peas/device/rendered_frame.rb', line 4 def strokes @strokes end |