Class: Pupil::Stream::Array
- Inherits:
-
Array
- Object
- Array
- Pupil::Stream::Array
- Defined in:
- lib/pupil/stream/base.rb
Overview
Stream Array
Instance Attribute Summary collapse
-
#event ⇒ Object
readonly
Returns the value of attribute event.
Instance Method Summary collapse
-
#initialize(status, event) ⇒ Array
constructor
A new instance of Array.
Constructor Details
#initialize(status, event) ⇒ Array
Returns a new instance of Array.
119 120 121 122 123 |
# File 'lib/pupil/stream/base.rb', line 119 def initialize(status, event) super(status) #self.update(status) @event = event end |
Instance Attribute Details
#event ⇒ Object (readonly)
Returns the value of attribute event.
117 118 119 |
# File 'lib/pupil/stream/base.rb', line 117 def event @event end |