Module: Pipelines::Pipeable

Defined in:
lib/readingme/pipelines.rb

Overview

Instance Method Summary collapse

Instance Method Details

#|(other) ⇒ Object



4
5
6
7
8
9
# File 'lib/readingme/pipelines.rb', line 4

def |(other)
  Pipelines::Pipeline.new.tap do |pipeline|
    pipeline | self
    pipeline | other
  end
end