Add multi-line block to Ruby sample

* Update the block to have multiple lines