def a(): ...
But statements are easier in Ruby.
And it is better practice to end a statement once you make it(because in other languages the 'end' is a closing bracket).
def a() ... end
If anyone can give me feedback as to which would be easier for him to understand.
Also, he has no previous programming experience.
This post has been edited by zem107: 04 October 2011 - 10:18 AM