Hi Peter, I'm pretty sure the code is aligned with the doc:
def natures(*values)
if values.size > 0
@natures ||= []
@natures += values.flatten
else
@natures || (@project.parent ? @project.parent.eclipse.natures :
[])
end
end
On Tue, Apr 13, 2010 at 07:25, Peter Schröder <[email protected]> wrote:
> hi,
>
> i just tried the buildr eclipse plugin and i think that there is a little
> bug in the documentation:
>
> http://buildr.apache.org/more_stuff.html#eclipse
>
> eclipse.natures :plugin
> should be
> eclipse.natures << :plugin
> or something like that
>
> kind regards,
> peter