>
>
>>> ExampleClass.staticMethod(); // prints the message; no instance of 
>>> ExampleClass is available
>>> ExampleClass ec= new ExampleClass();
>>> ec.staticMethod(); // prints the message; not recommended but works
>>
Here's another way:

class Object
 alias_method :orig_method_missing, :method_missing
 def method_missing(*a,&b)
  self.class.send *a,&b
 end
end

class Class
 def method_missing(*a,&b); orig_method_missing(*a,&b) end
end

"fun with Ruby".new #=>""
#w{can we say code smell?}.new #=>[]
"mwhaowt!".mwhaowt #=>NoMethodError

Devin