Fixed ruby code blocks.