mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
5c28308f9f
See https://github.com/tric/trick2015 for the contest outline. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
25 lines
593 B
Markdown
25 lines
593 B
Markdown
|
|
# How to run
|
|
|
|
```
|
|
ruby entry.rb
|
|
ruby entry.rb | ruby
|
|
ruby entry.rb | ruby | ruby
|
|
ruby entry.rb | ruby | ruby | ruby
|
|
...
|
|
```
|
|
|
|
Confirmed on the following environments:
|
|
- ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]
|
|
- ruby 2.0.0p353 (2013-11-22) [i386-mingw32]
|
|
|
|
# Description
|
|
|
|
A simple quine which prints itself twice
|
|
on a slightly complex base.
|
|
|
|
> geminum caput amphisbaenae, hoc est et a cauda,
|
|
> tamquam parum esset uno ore fundi venenum.
|
|
> aliis squamas esse, aliis picturas, omnibus exitiale virus.
|
|
>
|
|
> — <cite>GAIUS PLINIUS SECUNDUS, Naturalis Historia 8.85.1</cite>
|