Re: Custom class

Pål Bergström
Tue, 06 Oct 2009 11:40:29 -0000

Sijo kg wrote:

>      It is not a difficult thing to grasp Just an example  Suppose you
> have a class Fruit.Now an apple and an orange are instances of the class
> Fruit. So in Ruby it can be created like
>
> apple = Fruit.new  or
> orange = Fruit.new
>
>
>     Thousands of other examples.You have to read any object oriented
> book
>
>
> Sijo

Now the coin fell down. Got it.