# File lib/modai_prct12/matrizDSL.rb, line 5 def initialize(operacion) @op_texto = operacion.to_s # Por defecto la operación será & para devolver error case @op_texto when "suma" @op = "+" when "resta" @op = "-" when "producto" @op = "*" else @op = "&" end @matA = nil @matB = nil end