# your code goes herea = ["a", "b", "c"]puts aa.push("d")puts aa.popputs a
Standard input is empty
a b c a b c d a b c
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!