Learning by example: reading ruby code


#1

I would like to take an existing Ruby program and read through the
source code to learn how someone else would program. Ideally for me it
would not be Rails, but something in just pure Ruby to help me learn to
be a better programmer. Can someone point me in a good direction?

Thank you.


#2

Jason L. wrote:

I would like to take an existing Ruby program and read through the
source code to learn how someone else would program. Ideally for me it
would not be Rails, but something in just pure Ruby to help me learn to
be a better programmer. Can someone point me in a good direction?

Thank you.

RubyGems: http://rubyforge.org/frs/?group_id=126
Rake: http://rubyforge.org/frs/?group_id=50
Mongrel: http://mongrel.rubyforge.org/
Merb: http://github.com/wycats/merb/tree/master

Actually… I should do this too :slight_smile:

best,
Dan


#3

Jason L. wrote:

I would like to take an existing Ruby program and read through the
source code to learn how someone else would program. Ideally for me it
would not be Rails, but something in just pure Ruby to help me learn to
be a better programmer. Can someone point me in a good direction?

A similar question was asked about a month ago. You can see the
suggestions at
http://www.ruby-forum.com/topic/166560

My choice:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/246304

HTH,

Brian.