#!ruby -w o = String.new("foo"); def o.hello() puts 'Hello, world!'; end o.hello();