Just ruby code that prints itself
s = ";puts('s = '+s.inspect+s);";puts('s = '+s.inspect+s);
Note that there must be a newline when you write it to a file. It was a fun exercise, but ruby really makes things easy. Nice article about the "chicken and eggs" subject: http://cm.bell-labs.com/who/ken/trust.html
Written by Vinicius Correa
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#