class Dry::Logic::Evaluator::Set
Attributes
evaluators[R]
Public Class Methods
new(paths)
click to toggle source
Calls superclass method
# File lib/dry/logic/evaluator.rb, line 15 def self.new(paths) super(paths.map { |path| Evaluator::Key.new(path) }) end
new(evaluators)
click to toggle source
# File lib/dry/logic/evaluator.rb, line 19 def initialize(evaluators) @evaluators = evaluators end
Public Instance Methods
call(input)
click to toggle source
# File lib/dry/logic/evaluator.rb, line 23 def call(input) evaluators.map { |evaluator| evaluator[input] } end
Also aliased as: []