examples/list.rb in bindata-2.4.8 vs examples/list.rb in bindata-2.4.9

- old
+ new

@@ -103,10 +103,10 @@ def decode term.decode end def self.encode(val) - if Fixnum === val + if Integer === val Term.new(tag: 'a', term: Atom.encode(val)) else Term.new(tag: 'l', term: List.encode(val)) end end