Skip to content

Instantly share code, notes, and snippets.

@loz
Created April 7, 2011 10:04
Show Gist options
  • Save loz/907475 to your computer and use it in GitHub Desktop.
Save loz/907475 to your computer and use it in GitHub Desktop.
def counter(start,increment)
start -= increment
lambda do
start += increment
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment