(snippet) ruby begin block