Ruby miscellaneous things