Riley, the dog, was learning a new trick in which their owner placed a ruler on top of a stack of books. Then they put a treat on one end and asked Riley to flip the ruler. Riley successfully completed the trick and relished the treat.