On Sun, 2007-04-29 at 15:55 -0500, Bill Dortch (JIRA) wrote:
> The workaround for the anonymous class syntax:
> {code}
> # one way to do this
> anonymous = Class.new(Object)
> anonymous.send :include, java.lang.Runnable
> {code}
Why not just:
anonymous = Class.new(Object) do
include java.lang.Runnable
end
?
-mental
signature.asc
Description: This is a digitally signed message part
