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