def m(s) b = s b << 'lol'end str = 'a'm(str)puts str
Standard input is empty
alol
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!