We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a203df commit a6d900aCopy full SHA for a6d900a
ChangeLog.rdoc
@@ -1,5 +1,9 @@
1
= BinData Changelog
2
3
+== Version 2.4.9 (xxxx-xx-xx)
4
+
5
+* Change example from Fixnum to Integer. Thanks to Tim Chambers.
6
7
== Version 2.4.8 (2020-07-21)
8
9
* Bug fix array self assignment. Thanks to Spencer McIntyre.
examples/list.rb
@@ -105,7 +105,7 @@ def decode
105
end
106
107
def self.encode(val)
108
- if Fixnum === val
+ if Integer === val
109
Term.new(tag: 'a', term: Atom.encode(val))
110
else
111
Term.new(tag: 'l', term: List.encode(val))
0 commit comments