ruby how to call class variable code example Example: ruby class variable class Customer @@no_of_customers = 0 end