7 8 9 10
# File 'lib/inventory/cli.rb', line 7 def add(amount, item) System::Inventory.add(amount.to_i, item) puts System::Inventory.print end
13 14 15 16
# File 'lib/inventory/cli.rb', line 13 def remove(amount, item) System::Inventory.remove(amount.to_i, item) puts System::Inventory.print end