浏览代码

Add interactors to Rails projections

Andrew Swistak 10 年之前
父节点
当前提交
0d37f6158b
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      vimrc

+ 6 - 0
vimrc

@@ -243,6 +243,12 @@ let g:rails_gem_projections = {
       \       "keywords": "describe it beforeEach expect loadFixtures xit"
       \     }
       \   },
+      \   "interactor-rails": {
+      \     "app/interactors/*.rb": {
+      \       "command": "interactor",
+      \       "template": "class %S\n\nend"
+      \     },
+      \   },
       \   "cucumber-rails": {
       \     "features/*.feature": {
       \       "command": "feature",