# Super newbie question

**URL:** <https://www.ruby-forum.com/t/super-newbie-question/48982>\
**Category:** Rails\
**Created:** [November 28, 2005, 5:22am UTC](https://www.ruby-forum.com/t/super-newbie-question/48982 "2005-11-28T05:22:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8491ac/32.png) [@anonymous](https://www.ruby-forum.com/u/anonymous)\
**Post date:** [November 28, 2005, 5:22am UTC](https://www.ruby-forum.com/t/super-newbie-question/48982/1 "2005-11-28T05:22:41Z")

</div>

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

 line? Basically defining a piece of code so it can be called  
later?

I’m trying to get my hands around the basics and could really use a  
tip…

thx.

AC

---

<div class="post-metadata">

**Author:** ![anonymous](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8491ac/32.png) [@anonymous](https://www.ruby-forum.com/u/anonymous)\
**Post date:** [November 28, 2005, 5:34am UTC](https://www.ruby-forum.com/t/super-newbie-question/48982/2 "2005-11-28T05:34:50Z")

</div>

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)

[http://www.rubycentral.com/book/](http://www.rubycentral.com/book/)

Good Luck!!

---

<div class="post-metadata">

**Author:** ![anonymous](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8491ac/32.png) [@anonymous](https://www.ruby-forum.com/u/anonymous)\
**Post date:** [November 28, 2005, 5:42am UTC](https://www.ruby-forum.com/t/super-newbie-question/48982/3 "2005-11-28T05:42:57Z")

</div>

You may find the following helpful:

Learn to Program (in Ruby)  
[http://pine.fm/LearnToProgram/?Chapter=Contents](http://pine.fm/LearnToProgram/?Chapter=Contents)

Programming Ruby - The Pragmatic Programmer’s Guide  
[http://www.rubycentral.com/book/index.html](http://www.rubycentral.com/book/index.html)

---

<div class="post-metadata">

**Author:** ![anonymous](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8491ac/32.png) [@anonymous](https://www.ruby-forum.com/u/anonymous)\
**Post date:** [November 28, 2005, 10:45am UTC](https://www.ruby-forum.com/t/super-newbie-question/48982/4 "2005-11-28T10:45:33Z")

</div>

Hi:

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.

bruce

---

<div class="post-metadata">

**Author:** ![anonymous](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8491ac/32.png) [@anonymous](https://www.ruby-forum.com/u/anonymous)\
**Post date:** [November 28, 2005, 11:54am UTC](https://www.ruby-forum.com/t/super-newbie-question/48982/5 "2005-11-28T11:54:25Z")

</div>

On Monday 28 Nov 2005 04:39, Hammed M. 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  
too:

[http://poignantguide.net/ruby/](http://poignantguide.net/ruby/)

~Dave

–

Dave S.  
Rent-A-Monkey Website Development  
Web: [http://www.rentamonkey.com/](http://www.rentamonkey.com/)
