Class: Dry::Logic::Evaluator

Inherits:
Object
  • Object
show all
Defined in:
lib/dry/logic/evaluator.rb

Direct Known Subclasses

Attr, Key

Defined Under Namespace

Classes: Attr, Key, Set

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#pathObject (readonly)

Returns the value of attribute path.



8
9
10
# File 'lib/dry/logic/evaluator.rb', line 8

def path
  @path
end