Skip to content

Instantly share code, notes, and snippets.

@meeDamian
Created November 22, 2014 21:24
Show Gist options
  • Save meeDamian/a4e3504fdeb02613e375 to your computer and use it in GitHub Desktop.
Save meeDamian/a4e3504fdeb02613e375 to your computer and use it in GitHub Desktop.
def filtered = ['class', 'active']
println variant.properties
.sort{it.key}
.collect{it}
.findAll{!filtered.contains(it.key)}
.join('\n')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment