dotfiles/emacs/.emacs.d/snippets/ruby-mode/factory
2016-11-24 21:41:10 +01:00

9 lines
No EOL
188 B
Text

# -*- mode: snippet -*-
# name: factory
# key: factory
# --
FactoryGirl.define do
factory :${1:`(file-name-sans-extension (file-name-nondirectory buffer-file-name))`} do
$0
end
end