PageRenderTime 38ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/ruby-mode/Ordering/randomize (ran).yasnippet

http://github.com/ridgetang/snippets
Unknown | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | 7b4448efa63726800a77779b5bf18009 MD5 | raw file
  1. # -*- mode: snippet -*-
  2. # key: ran
  3. # contributor: Translated from TextMate Snippet
  4. # name: randomize()
  5. # --
  6. sort_by { rand }