demarches-normaliennes/app/models/logic/empty_operator.rb
2023-11-06 18:10:08 +01:00

11 lines
249 B
Ruby

class Logic::EmptyOperator < Logic::BinaryOperator
def to_s(_type_de_champs = []) = I18n.t('logic.empty_operator')
def type(_type_de_champs = []) = :empty
def errors(_type_de_champs = []) = []
def compute(_champs = [])
true
end
end