Skip to content

Instantly share code, notes, and snippets.

@bnadlerjr
Created August 13, 2010 01:55
Show Gist options
  • Save bnadlerjr/522115 to your computer and use it in GitHub Desktop.
Save bnadlerjr/522115 to your computer and use it in GitHub Desktop.
def rand_between(min, max)
Kernel::rand(max-min+1) + min
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment