in serialization rename op to term

This commit is contained in:
simon lehericey 2022-07-05 14:47:32 +02:00
parent 87385d03fd
commit 350d32c369
6 changed files with 6 additions and 6 deletions

View file

@ -8,7 +8,7 @@ class Logic::NAryOperator < Logic::Term
def to_h
{
"op" => self.class.name,
"term" => self.class.name,
"operands" => @operands.map(&:to_h),
"id" => @id
}