From: Robert Klemme Date: 2005-10-05T16:41:48+09:00 Subject: Re: Object Orientation 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 attr_accessor :name def a_method(foo, bar) foo + bar end end A small collection... 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/ Kind regards robert