Created
April 8, 2012 01:19
-
-
Save shuji/2333392 to your computer and use it in GitHub Desktop.
range
This file contains 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
def from = 10 | |
def to = 20 | |
(from..to).each { println it } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment