From: Dave Burt Date: 2005-10-05T17:01:48+09:00 Subject: Re: Object Orientation Robert Klemme wrote: > Krekna Mektek wrote: >> Hi again, >> >> Can someone point me to a not-too-long introduction of howto to model >> objects in Ruby OO? >> I am reading a OO book, but I already want to try to OO my actual >> procedural-programmed script. > > Basically, it's > > class YourClass < AnotherClass > ... > > http://www.ruby-doc.org/docs/ProgrammingRuby/html/tut_classes.html > http://pine.fm/LearnToProgram/?Chapter=09 > http://www.rubygarden.org/ruby?ObjectOriented > > And, for the fun part: > http://poignantguide.net/ruby/ There's also this one, which isn't particularly short, but it's like a conversation describing Ruby's OO. Brian Marick's _A Little Ruby, A Lot of Objects_: http://www.visibleworkings.com/little-ruby/ Cheers, Dave