PDA

View Full Version : how to execute


mokkai
August 10th, 2007, 12:49 PM
how to execute a ruby program which is inside a string ?....
in
ex.rb

puts "start "
temp="(1..10).each do |count| print count end "
puts "end"


how to execute the source code in temp(String object)