Class: Vanguard::DSL::Evaluator::Connector
- Inherits:
-
Object
- Object
- Vanguard::DSL::Evaluator::Connector
- Includes:
- Adamantium::Flat
- Defined in:
- lib/vanguard/dsl/evaluator.rb
Instance Attribute Summary collapse
-
#klass ⇒ Class
readonly
private
Return klass.
-
#left ⇒ Rule
readonly
private
Return left rule.
Instance Method Summary collapse
-
#connect(right) ⇒ Rule
private
Return connected rule.
Instance Attribute Details
#klass ⇒ Class (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.
Return klass
81 82 83 |
# File 'lib/vanguard/dsl/evaluator.rb', line 81 def klass @klass end |
#left ⇒ Rule (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.
Return left rule
89 90 91 |
# File 'lib/vanguard/dsl/evaluator.rb', line 89 def left @left end |
Instance Method Details
#connect(right) ⇒ Rule
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.
Return connected rule
97 98 99 |
# File 'lib/vanguard/dsl/evaluator.rb', line 97 def connect(right) @klass.new(left, right) end |