Various Ruby Code