Try calling method_missing directly:

ant.method_missing :class, :location => 'foo'

Daniel

On Tue, Jul 14, 2009 at 7:09 PM, Martin Grotzke <
[email protected]> wrote:

> Hi,
>
> findbugs requires a nested element "class" that indicates, which classes
> shall be analyzed.
>
> When I try to specify this class property via
>  ant.class :location=>'foo'
> this of course fails.
>
> Is it somehow possible to solve this issue? (Perhaps ruby as a dynamic
> language can now score :))
>
> (I already tried s.th. like "ant.send :class ..." but without success -
> probably that was just too naive :))
>
> Thx && cheers,
> Martin
>
>
>

Reply via email to