PageRenderTime 21ms CodeModel.GetById 14ms app.highlight 6ms RepoModel.GetById 0ms app.codeStats 0ms

/.emacs.d/snippets/ruby-mode/val.numericality

https://bitbucket.org/maciekpacut/dotfiles
Unknown | 4 lines | 4 code | 0 blank | 0 comment | 0 complexity | 6906f77538d18049e6c9bda8b7311290 MD5 | raw file
1# -*- mode: snippet -*-
2#name : numericality
3# --
4validates :${1:attributes}, :numericality => true