Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[withProperties] More simple exporting my own types #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

abdennour
Copy link

This resolves handling own types , however , it does not taske benefits of groovy extra-features comparing with Java .

My suggestion is to use Closures directly :

def withProperties=['name',{it.currency.displayName}]

Instead of :

creating whole class+ Instantiate it like this .

def withProperties = ['name', new CurrencyGetter('price.currency')]

abdennour added 2 commits December 3, 2014 13:07
Useful if  we deal with Tmp file .
i.e: 
`new XlsxExporter(File.createTempFile("temp",".tmp"))`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant