Hal E. Fulton wrote:
> I just tried to use const_missing (which I think is a
> neat idea).
> 
> Shouldn't it work at the top level? Am I doing something
> wrong?
> 
>   def const_missing
>     "not found"
>   end

This should be

---
def Object.const_missing(sym)
	p sym
end

  Foo
---

/Christoph