Update inventory.rb

Working