Encoder Libary - How must i connect my Rotary Encoder ?

Hello

i found here a Encoder Libary and i will try this.

I miss a circuit diagram. how must i connect my Encoder with Pushbutton
with the Arduino?

Regard