demarches-normaliennes/app/models/logic/empty_operator.rb
2022-07-05 12:07:06 +02:00

11 lines
188 B
Ruby

class Logic::EmptyOperator < Logic::BinaryOperator
def to_s = "empty operator"
def type = :empty
def errors(_stable_ids = nil) = []
def compute(_champs = [])
true
end
end