------art_38900_18950852.1148745962816
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On 5/27/06, Paul D. Kraus <paul.kraus / gmail.com> wrote:
>
> Perl has me all turned around with ruby classes.
>
> I see some classes use a 'self.' and others don't. When to use?


self.methodName creates a  Class/Module method

Also what does an @ do in front of a variable?


@variable is an instance variable.


I think i understand private methods basically they are things only used
> with in the class and never return a value or effect anything beyond that
> correct?
>
>
private methods *cannot* be called by objects that are not an instance of
a class that defines that private method.

You might find this tutorial/online book helpful:
http://www.ruby-doc.org/docs/ProgrammingRuby/html/index.html

-Madan

------art_38900_18950852.1148745962816--