PageRenderTime 46ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/ruby-mode/Methods/include Enumerable .. (Enum).yasnippet

http://github.com/ridgetang/snippets
Unknown | 10 lines | 9 code | 1 blank | 0 comment | 0 complexity | b6682beaabe3e0585f3f4af8c3803cc8 MD5 | raw file
  1. # -*- mode: snippet -*-
  2. # key: Enum
  3. # contributor: Translated from TextMate Snippet
  4. # name: include Enumerable ..
  5. # --
  6. include Enumerable
  7. def each(&block)
  8. $0
  9. end