Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

These are the two shortest Ruby quines from SOfrom SO:

_="_=%p;puts _%%_";puts _%_

and

puts <<2*2,2
puts <<2*2,2
2

Don't ask me how the second works...

These are the two shortest Ruby quines from SO:

_="_=%p;puts _%%_";puts _%_

and

puts <<2*2,2
puts <<2*2,2
2

Don't ask me how the second works...

These are the two shortest Ruby quines from SO:

_="_=%p;puts _%%_";puts _%_

and

puts <<2*2,2
puts <<2*2,2
2

Don't ask me how the second works...

deleted 1 character in body
Source Link
Cyoce
  • 3.4k
  • 26
  • 29

These are the two shortest Ruby quines from SO:

_="_=%p;puts _%%_";puts _%_

and

puts <<2*2,2
puts <<2*2,2
2

Don't ask me, how the second works...

These are the two shortest Ruby quines from SO:

_="_=%p;puts _%%_";puts _%_

and

puts <<2*2,2
puts <<2*2,2
2

Don't ask me, how the second works...

These are the two shortest Ruby quines from SO:

_="_=%p;puts _%%_";puts _%_

and

puts <<2*2,2
puts <<2*2,2
2

Don't ask me how the second works...

Stuck an "and" between the two code snippets so they aren't rendered as one.
Source Link

These are the two shortest Ruby quines from SO:

_="_=%p;puts _%%_";puts _%_
 

and

puts <<2*2,2
puts <<2*2,2
2

Don't ask me, how the second works...

These are two shortest Ruby quines from SO:

_="_=%p;puts _%%_";puts _%_
 
puts <<2*2,2
puts <<2*2,2
2

Don't ask me, how the second works...

These are the two shortest Ruby quines from SO:

_="_=%p;puts _%%_";puts _%_

and

puts <<2*2,2
puts <<2*2,2
2

Don't ask me, how the second works...

Source Link
Nakilon
  • 643
  • 6
  • 11
Loading