xxxxxxxxxx
def input
$stdin.gets.chomp.to_i
end
puts "Give me a number. NOW!"
n_o = input
puts "Another number, please."
another_n = input
total = n_o + another_n
puts "You gave me #{n_o} and #{another_n}. Together they equal #{total}."
We wanted a way for people to experience some Ruby in the browser, as well as have a platform that can send cool Ruby scripts to one another.
What does this mean?
In Github, forking is a way that you can build upon someone else's code.
Once the project you have forked the code, you can update it from that point on.
RubyFiddle grew up a little bit on June 14, 2012.
We execute in a restricted environment on Heroku and unfortunately, system calls and Ruby classes cause problems.
Due to such security concerns, we had to disable things like