For the last talk on using monads in ruby at Paris.RB you can find the code used in the talk here.

My previous talk on monades and automaton was in Lyon in October 2015. You can download the pdf directly from github or use the embeded view below if supported by your device.