Tag Archives: pass-by-value

Ruby, pass by value or by reference?

It’s a basic question that I myself had a problem with when i started using Ruby: Does Ruby pass by value or by reference? Well, if you want a direct answer, then: Ruby passes by value. It’s a similar behavior … Continue reading

Posted in Ruby | Tagged , | 38 Comments