demarches-normaliennes/app/models/logic/empty_operator.rb
simon lehericey 43f926a1de to_s
2022-09-28 10:06:31 +02:00

11 lines
235 B
Ruby

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