in serialization rename op to term
This commit is contained in:
parent
87385d03fd
commit
350d32c369
6 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue