Sha256: 2f26815763c8bb84254b6cce3f0f45ca80ead31187cbd829c7f6bf8654271b42
Contents?: true
Size: 390 Bytes
Versions: 11
Compression:
Stored size: 390 Bytes
Contents
class Array PipesPipe = com.tinkerpop.pipes.Pipe unless instance_methods.include? :plus_without_multi alias plus_without_multi + def +(other) plus_with_multi(other) end end def plus_with_multi(other) if other.is_a? PipesPipe or other.is_a? Enumerator Pacer::Pipes::MultiPipe.new [self, other] else plus_without_multi(other) end end end
Version data entries
11 entries across 11 versions & 1 rubygems