legacy-dotfiles/emacs/.emacs.d/snippets/ruby-mode/factory

9 lines
188 B
Text
Raw Normal View History

2016-02-08 01:10:27 +01:00
# -*- 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