mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-12 00:14:18 +00:00
tweaking rails and ruby snippets slightly
This commit is contained in:
@@ -7,6 +7,5 @@
|
||||
class ${1:`(yas/ruby-infer-class-name)`}
|
||||
def initialize${2:$(if (string= yas/text "") "" "(")}${2:args}${2:$(if (string= yas/text "") "" ")")}
|
||||
$0
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user