groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Theodorou <blackd...@gmx.org>
Subject Re: bindings to GroovyShell overriding class names
Date Wed, 07 Oct 2015 23:07:31 GMT
Am 07.10.2015 um 17:26 schrieb Ralph Johnson:
> I am using GroovyShell and passing in a binding with lots of names in
> it.  One of those names is "Currency", but the script thinks the name
> refers to the class Currency, not the variable.   I was surprised that
> GroovyShell didn't use the variable in the binding before a class name.
> Does anybody know what I could do to make the variables in the binding
> override class names?

binding.Currency is the only thing I can think of right now

bye blackdrag

-- 
Jochen "blackdrag" Theodorou
blog: http://blackdragsview.blogspot.com/


Mime
View raw message