summaryrefslogtreecommitdiff
path: root/sample/trick2015/monae/remarks.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'sample/trick2015/monae/remarks.markdown')
-rw-r--r--sample/trick2015/monae/remarks.markdown25
1 files changed, 25 insertions, 0 deletions
diff --git a/sample/trick2015/monae/remarks.markdown b/sample/trick2015/monae/remarks.markdown
new file mode 100644
index 0000000000..48be61bd12
--- /dev/null
+++ b/sample/trick2015/monae/remarks.markdown
@@ -0,0 +1,25 @@
+
+# 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.
+>
+> &mdash; <cite>GAIUS PLINIUS SECUNDUS, Naturalis Historia 8.85.1</cite>