I thought I understood the rules on indenting but almost every question I ask on S/O ends up with a comment "indent your code correctly". Just want to clear this up once and for all. This is a snippet from a project I am working on. What's indented correctly and what isn't?
def display
print " 1 2 3 4 5 6 7"
@board.each do |i|
print "\n"
@draw = "+-----+-----+-----+-----+-----+-----+-----+"
puts @draw
i.each do |n|
print "| #{n} "
end
print "|"
end
print "\n"
print @draw
end