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

@ -1,6 +1,6 @@
module Logic
def self.from_h(h)
class_from_name(h['op']).from_h(h)
class_from_name(h['term']).from_h(h)
end
def self.from_json(s)