Small NSS Ruby program