Added details on ruby method