fork download
  1. def hoge_r(s)
  2. s[1] = "1"
  3. end
  4.  
  5. a = "abc"
  6. b = a
  7. hoge_r(a)
  8. puts a
  9. puts b
  10.  
Success #stdin #stdout 0s 4716KB
stdin
Standard input is empty
stdout
a1c
a1c