RubyFlow The Ruby and Rails community linklog

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.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in