Add ruby method