Ruby program