Skip to content

Instantly share code, notes, and snippets.

@vijaydev
Created May 8, 2011 11:36
Show Gist options
  • Save vijaydev/961315 to your computer and use it in GitHub Desktop.
Save vijaydev/961315 to your computer and use it in GitHub Desktop.
#@data = Hash.new { |h,k| h[k] = Hash.new { |h1,k1| h1[k1] = Array.new(8) {0} } } #Interesting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment