Class: Smartdown::Engine::PredicateEvaluator

Inherits:
Object
  • Object
show all
Defined in:
lib/smartdown/engine/predicate_evaluator.rb

Instance Method Summary collapse

Instance Method Details

#evaluate(predicate, state) ⇒ Object



4
5
6
# File 'lib/smartdown/engine/predicate_evaluator.rb', line 4

def evaluate(predicate, state)
  evaluator_for(predicate).call(state)
end