Class: Reru::Map
Instance Method Summary collapse
- #emit(event) ⇒ Object
-
#initialize(source, &block) ⇒ Map
constructor
A new instance of Map.
Methods inherited from Stream
#consume, #dispatch, #log, #map, #merge, #select, #to_es
Constructor Details
#initialize(source, &block) ⇒ Map
Returns a new instance of Map.
5 6 7 8 |
# File 'lib/reru/map.rb', line 5 def initialize(source, &block) super(source) @block = block end |