Porting code example (Ruby to Elixir)

I don’t understand it all yet. I will look at it tonight after I leave work
and will ask questions.