Skip to content

Instantly share code, notes, and snippets.

@BenHall
Created December 7, 2009 00:43
Show Gist options
  • Save BenHall/250512 to your computer and use it in GitHub Desktop.
Save BenHall/250512 to your computer and use it in GitHub Desktop.
targets 1,2,3,4
def targets(*targets)
@targets=[targets]
end
@targets
=> [1,2,3,4]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment