# File lib/origin/selector.rb, line 68 def to_pipeline pipeline = [] pipeline.push({ "$match" => self }) unless empty? pipeline end