Sample to use daemon gem

hi,

i search sample to use the daemon gem;
a program to start and stop a rb script
in the official doc i have just find the syntax

thanks