Class: Dry::Logic::Evaluator
- Inherits:
-
Object
- Object
- Dry::Logic::Evaluator
- Defined in:
- lib/dry/logic/evaluator.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ Evaluator
constructor
A new instance of Evaluator.
Constructor Details
#initialize(path) ⇒ Evaluator
Returns a new instance of Evaluator.
43 44 45 |
# File 'lib/dry/logic/evaluator.rb', line 43 def initialize(path) @path = Array(path) end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
8 9 10 |
# File 'lib/dry/logic/evaluator.rb', line 8 def path @path end |