Module: ROM::Pipeline::Operator Private

Included in:
Command, ROM::Pipeline
Defined in:
lib/rom/pipeline.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Common >> operator extension

Instance Method Summary collapse

Instance Method Details

#>>(other) ⇒ Relation::Composite

Compose two relation with a left-to-right composition

Examples:

users.by_name('Jane') >> tasks.for_users

Parameters:

  • other (Relation)

    The right relation

Returns:


22
23
24
# File 'lib/rom/pipeline.rb', line 22

def >>(other)
  composite_class.new(self, other)
end