sample
sample
sample
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
And here’s the indentation magic! We have to take care of 3 cases:if true: # 1) The block is created.line 1line 2 # 2) New line inside a block, at the same level.continue # 3) Dedent.This elsif takes care of the first case. The number of spaces will determine theindent level.68 elsif indent = chunk[/\A\:\n( +)/m, 1] # Matches ": "69 if indent.size