Robert Klemme <bob.news / gmx.net> wrote:
> Try this:

> h["func1"] = Outer::Inner.method :dothis
> h["func2"] = method :whatever

[defs]

> Outer::Inner::dothis(3)
> h["func2"].call 9
> h["func1"].call 7


appears to work with .call instead of __send__, but this requires def first
otherwise one can't get the .method (of course...)

  ztrick.rb:5: uninitialized constant Outer (NameError)


I'll try do guarantee that the def is always first... hmmm

Martin