Post

What is the smallest and most simple Ruby program you can think of which has these properties? 1) It must not write to any I/O streams (including stdout) 2) It must have two possible end states and randomly choose between them on each run. 3) The end state of each run must be externally observable.