Separate code blocks in ruby to avoid bad coloring