Created
January 31, 2012 00:35
-
-
Save varokas/1707842 to your computer and use it in GitHub Desktop.
Groovy as shell script
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
#!/usr/bin/env groovy | |
//Grape: http://groovy.codehaus.org/Grape | |
//Don't forget to chmod +x (this file) | |
import com.google.common.collect.HashBiMap | |
@Grab(group='com.google.code.google-collections', module='google-collect', version='snapshot-20080530') | |
def getFruit() { [grape:'purple', lemon:'yellow', orange:'orange'] as HashBiMap } | |
println getFruit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment