Browse files

fixed ruby mod and python class to use backticks for function expansion

Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
  • Loading branch information...
1 parent 5a3c48c commit 57dced724c3919bca8c2028900c119e7f7999ce5 Reza Jelveh committed with scrooloose Feb 20, 2009
Showing with 4 additions and 4 deletions.
  1. +2 −2 python/class.snippet
  2. +2 −2 ruby/mod.snippet
View
4 python/class.snippet
@@ -1,2 +1,2 @@
-class <+\<c-r>=Snippet_PythonClassNameFromFilename()\<CR>+>(<+data+>):
-<++>
+class ${1:``Snippet_PythonClassNameFromFilename()``}(${2:data}):
+${3}
View
4 ruby/mod.snippet
@@ -1,3 +1,3 @@
-module <+\<c-r>=Snippet_RubyClassNameFromFilename()\<CR>+>
- <++>
+module ${1:`Snippet_RubyClassNameFromFilename()`}
+ ${2}
end

0 comments on commit 57dced7

Please sign in to comment.