Skip to content

Instantly share code, notes, and snippets.

@yorickpeterse
Created January 12, 2016 15:04
Show Gist options
  • Save yorickpeterse/41113c65c50dc6e3c26b to your computer and use it in GitHub Desktop.
Save yorickpeterse/41113c65c50dc6e3c26b to your computer and use it in GitHub Desktop.
let numbers = [10, 20, 30]
numbers.each (number):
number > 10
.if_true:
STDOUT.print(number)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment