Quick Syntax highlighting test

Ruby code posted by Deaner666
created at 07 Aug 18:59, updated at 07 Aug 19:00

Edit | Back
1
2
3
4
5
6
7
8
9
10
def index

  inc = 0

  for post in @posts do
    inc += 1
    post.id = inc
  end

end
96 Bytes in 7 ms with coderay