role for ruby