From: Regis d'Aubarede Date: 2013-06-14T06:28:43+09:00 Subject: Re: create ruby file with ruby GUI Not sure what you mean, perhaps this one: ================================== require 'Ruiby' FILE="text.rb" TEMPLATE=< 30 do flow do label "Your script : " w=entry("") button("Go") do File.open(FILE,"w") { |f| f.puts(TEMPLATE % [w.text.strip]) } log system("ruby",FILE) end end end ================================== -- Posted via http://www.ruby-forum.com/.