ruby basic inventory