Forum: Ruby on Rails super newbie question

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
2d284a9db69c974a9e06b097a833250e?d=identicon&s=25 anonymous (Guest)
on 2005-11-28 05:22
Ok -- new to programming in general and google isn't helping with this
question because it's too generic.

Basically, what is a Class?  Is it the equivalent of the xhtml <div id =
foo> line?  Basically defining a piece of code so it can be called

I'm trying to get my hands around the basics and could really use a


9d1f5d2d9de70bd9a934f557dc95a406?d=identicon&s=25 Daniel ----- (liquid)
on 2005-11-28 05:34
(Received via mailing list)
There are A LOT or resources on google for this type of thing.

Try googling "oo programming"  There are so many documents "Results *1*
- *
10* of about *2,900,000"*

Or from a ruby  (and therefore rails point of view)

Good Luck!!
0bcc972918891ef358b0b3dfb4e7f18b?d=identicon&s=25 hammed (Guest)
on 2005-11-28 05:42
(Received via mailing list)
You may find the following helpful:

Learn to Program (in Ruby)

Programming Ruby - The Pragmatic Programmer's Guide
2dd904ec5981c31e7bb7a5743a53caf8?d=identicon&s=25 brucebalmer (Guest)
on 2005-11-28 10:45
(Received via mailing list)

 From one newbie to another...

The best (easiest to grasp and manipulate) explanation I have had is
that it is a mould (is that the right spelling) from which to make an
object.  So a cup mould would produce cups. All the cups would be
largely the same (except that parameters could vary them slightly).

That is all a class is, as far as I know.  Not a technical answer but
probably what you are looking for.

Cf7e5e4b5ca573eec214191fac420a2f?d=identicon&s=25 dave (Guest)
on 2005-11-28 11:54
(Received via mailing list)
On Monday 28 Nov 2005 04:39, Hammed Malik wrote:
> You may find the following helpful:

Not forgetting "Why's (Poignant) Guide to Ruby" - it's madder than a
sack full
of badgers, but somehow also informative, a good introduction and fun



Dave Silvester
Rent-A-Monkey Website Development
This topic is locked and can not be replied to.