Sha256: b8f399d4b062adbca7c26d4e36960b8b74faba356e0d34fae963c12274badc5d
Contents?: true
Size: 205 Bytes
Versions: 4
Compression:
Stored size: 205 Bytes
Contents
class Datapipes module Composable attr_accessor :accumulated def +(other) self.class.new.tap do |o| o.accumulated = [self, other] + (accumulated || []) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
datapipes-0.0.4 | lib/datapipes/composable.rb |
datapipes-0.0.3 | lib/datapipes/composable.rb |
datapipes-0.0.2 | lib/datapipes/composable.rb |
datapipes-0.0.1 | lib/datapipes/composable.rb |