xxxxxxxxxx
FOO = [0,0,0,0]
a = FOO
a[-1] = 1
puts FOO.inspect
puts a.inspect
BAR = [0,0,0,0].freeze
b = BAR
begin
b[-1] = 2
rescue Exception => ex
puts ex.inspect
end
puts BAR.inspect
puts b.inspect
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