Skip to content

Instantly share code, notes, and snippets.

@p3t0r
Created March 19, 2010 20:56
Show Gist options
  • Save p3t0r/338179 to your computer and use it in GitHub Desktop.
Save p3t0r/338179 to your computer and use it in GitHub Desktop.
Dir.glob("**/*.java").map{|it| it.split('/').last[0..-6]}.map{|it| [it, it.length]}.sort{|a, b| b[1] <=> a[1]}[0..5]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment