Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
steveklabnik
· 17y ago · 0 comments
Just as a quick note, you can use '{' and '}' instead of 'do' and 'end' if you want. Standard conventions say that one line blocks get {}, and multi-line ones get do-end.
Comments
[–]
peskytruth
17y ago
Just for blocks/procs. Method definitions still require def/end.