ruby sample demo