Flanagan, D., & Matsumoto, Y. (2008). The Ruby Programming Language. O’Reilly Media.
Bishop, C. M. (2006). Pattern Recognition and Machine Learning.