ruby sample