lib/nera_addsim/make_simulator.rb in nera-0.2.1 vs lib/nera_addsim/make_simulator.rb in nera-0.2.2

- old
+ new

@@ -39,11 +39,10 @@ $stdout.puts "Input is not valid" $stdout.puts $stdout.puts "Input the simulator name again." end return ["seed",nil,nil] if name == "seed" - #array << ":#{name}" array << name.to_sym.inspect $stdout.puts num = Dialog.select_one(type, "++Select parameter type+++") array << type[num] default = 0 @@ -113,10 +112,11 @@ $stdout.puts "Input is not valid" $stdout.puts $stdout.puts "Input the simulator name again." end return ["seed",nil,nil] if name == "seed" - param[0] = ":#{name}" + # param[0] = ":#{name}" + param[0] = name.to_sym.inspect when 2 $stdout.puts num = Dialog.select_one(type, "+++Select new parameter type+++ \n #{param[1]} ->") param[1] = type[num] when 3