S
Serg Koren
Hi
As relatively new to Ruby, I'd be interested in seeing what people
think are the best idioms for Ruby. I'm trying to get used to doing
things the "Ruby way" (no pun intended). I'm interested in what you
think are your favorite ways of doing things in Ruby. Please include
a short description or comments. If I get enough of them I'll
consolidate them and post them online.
Thanks for all your help and time.
PS - Anyone have a good explanation of why RDoc translates initialize
methods as 'new'? Yes I know you instantiate via: X.new but why
does the method 'initialize' get documented as method 'new'? Seems
a bit confusing for us newbies.
As relatively new to Ruby, I'd be interested in seeing what people
think are the best idioms for Ruby. I'm trying to get used to doing
things the "Ruby way" (no pun intended). I'm interested in what you
think are your favorite ways of doing things in Ruby. Please include
a short description or comments. If I get enough of them I'll
consolidate them and post them online.
Thanks for all your help and time.
PS - Anyone have a good explanation of why RDoc translates initialize
methods as 'new'? Yes I know you instantiate via: X.new but why
does the method 'initialize' get documented as method 'new'? Seems
a bit confusing for us newbies.