puts __FILE__ class MyClass @@note = 'A' def sing_hello @@note.succ!.succ! print "Hello... ", @@note, " " end end myObject = [MyClass.new, MyClass.new, MyClass.new] myObject.each { |stooge| stooge.sing_hello }