I'm trying to run this code below:
class ProdutItem
attr_reader :price_unit, :x_item, :price_promo
def initialize(price_unit: , x_item: 1, price_promo: price_unit)
@price_unit = price_unit
@x_item = x_item
@price_promo = pric...
asked by
15.12.2017 / 19:28