Sha256: 0f11c66ddd44df05d3ef0565b3d6476fc4074828fa34cc084e8611817519d1b5
Contents?: true
Size: 147 Bytes
Versions: 2
Compression:
Stored size: 147 Bytes
Contents
class ReverseAcc < Datapipes::Sink attr_reader :stock def initialize @stock = [] end def run(data) @stock.unshift data end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
datapipes-0.1.5 | examples/lib/reverse_acc.rb |
datapipes-0.1.4 | examples/lib/reverse_acc.rb |