Mega Code Archive
Categories
/
Ruby
/
Class
Creating Objects the Simple Way
class Customer @@no_of_customers=0 end cust1 = Customer.new cust2 = Customer.new