Created
February 24, 2011 00:55
-
-
Save bigtoast/841537 to your computer and use it in GitHub Desktop.
random notes on grails n groovy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
v. 1.2.2 plugin dependencies are declared in application.properties | |
v. 1.3.7 plugin dependencies are declared in BuildConfig.groovy | |
null safe object navigation obj?.value | |
condensed ternary operator obj.value ?: "else this" | |
comparison <=> | |
call method on all objects in list listofobjs*.method | |
add items to list lst << "new item" | |
ranges .. ..< |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment