for ruby