Class: Pupil::Stream::Array

Inherits:
Array
  • Object
show all
Defined in:
lib/pupil/stream/base.rb

Overview

Stream Array

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#eventObject (readonly)

Returns the value of attribute event.



117
118
119
# File 'lib/pupil/stream/base.rb', line 117

def event
  @event
end