RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

An Interview Question That Prints Out Its Own Source Code (In Ruby)

I recently decided to play around with writing a ruby quine (especially since there didn't seem to be many around). Along with discussing the possible merits of quines as an interview question, here is what I came up with.

Comments

whatAnonymous Coward - March 22, 2010 04:20

Post a Comment

Note: If you are a registered user, you can log in to populate these fields.

You may use ONLY these HTML tags to format your comment:

<a href="" title=""> <b> <blockquote> <code> <em> <i> <strong>

Do NOT use <p> tags. Just use newlines :-)

c
K willy
o
F bum
n
s
t
s
N tits
e
t
s
e
n
F bum
d