fork download
  1. def m(s)
  2. b = s.dup
  3. b << 'lol'
  4. end
  5.  
  6. str = 'a'
  7. m(str)
  8. puts str# your code goes here
Success #stdin #stdout 0.02s 9656KB
stdin
Standard input is empty
stdout
a