Class: ROM::Pipeline::Composite Private
- Inherits:
-
Object
- Object
- ROM::Pipeline::Composite
- Includes:
- Proxy
- Defined in:
- lib/rom/pipeline.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Base composite class with left-to-right pipeline behavior
Direct Known Subclasses
Instance Attribute Summary collapse
- #left ⇒ Object readonly private
- #right ⇒ Object readonly private
Instance Method Summary collapse
-
#>>(other) ⇒ Object
Compose this composite with another object.
-
#initialize(left, right) ⇒ Composite
constructor
private
A new instance of Composite.
- #respond_to_missing?(name, include_private = false) ⇒ Boolean included from Proxy private
Constructor Details
#initialize(left, right) ⇒ Composite
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Composite.
98 99 100 101 |
# File 'lib/rom/pipeline.rb', line 98 def initialize(left, right) @left = left @right = right end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ROM::Pipeline::Proxy
Instance Attribute Details
#left ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
92 93 94 |
# File 'lib/rom/pipeline.rb', line 92 def left @left end |
#right ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
95 96 97 |
# File 'lib/rom/pipeline.rb', line 95 def right @right end |
Instance Method Details
#>>(other) ⇒ Object
Compose this composite with another object
106 107 108 |
# File 'lib/rom/pipeline.rb', line 106 def >>(other) self.class.new(self, other) end |
#respond_to_missing?(name, include_private = false) ⇒ Boolean Originally defined in module Proxy
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.