Source code: here
cuby_shift Example