demarches-normaliennes/app/models/logic/empty_operator.rb
simon lehericey 12b6a0d6d6 errors
2022-09-28 10:06:31 +02:00

11 lines
213 B
Ruby

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