The article seems to be wrong in several aspects ... First, the issue described has nothing to do with arrays; the same problem happens when using a plain number: class Inventory def initialize(nb) @nb_items = nb end…
The article seems to be wrong in several aspects ... First, the issue described has nothing to do with arrays; the same problem happens when using a plain number: class Inventory def initialize(nb) @nb_items = nb end…