I have the following Ruby codes in three different files. Follow them:
programa.rb
require_relative "product"
require_relative "store"
cd = Product.new("CD",20.5)
pinico = Product.new("Pinico",30.6)
store = [cd,pinico]
test = Store.new(...
asked by
03.04.2018 / 14:15