Added ruby code Dic 18 2014