Hi Pål Bergström
> That was great. Thank you. Still not sure about instance and what it
> means.
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
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---