Add singleton ruby example