On Jul 5, 10:45=A0am, Mike Bethany <mikbe... / gmail.com> wrote:
> You could do this:
>
> k =3D Class.new do
> =A0 class_eval("class X; end")
> end
>
> puts k::X.object_id
>

Thanks, but unfortunately that only works b/c it's evaluating a string
and not a block.

I tried this thinking it should do the trick:

  Class.new do
  =A0 instance_eval(&block)
  end

But no go :-(