11 lines
249 B
Ruby
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
|