class Dry::Logic::Evaluator::Attr

Public Instance Methods

[](input)
Alias for: call
call(input) click to toggle source
# File lib/dry/logic/evaluator.rb, line 39
def call(input)
  path.reduce(input) { |a, e| a.public_send(e) }
end
Also aliased as: []