Fix examples in the code documentation

YARD requires the code examples to be indented.