Class: ROM::Pipeline::Composite Private
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.
104 105 106 107 |
# File 'core/lib/rom/pipeline.rb', line 104 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.
98 99 100 |
# File 'core/lib/rom/pipeline.rb', line 98 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.
101 102 103 |
# File 'core/lib/rom/pipeline.rb', line 101 def right @right end |
Instance Method Details
#>>(other) ⇒ Object
Compose this composite with another object
112 113 114 |
# File 'core/lib/rom/pipeline.rb', line 112 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.