Ruby: Remove cla collision

This commit is contained in:
Louis Pilfold 2015-10-21 19:03:52 +01:00
parent 85aa5d2782
commit d4e625087e

View File

@ -1,12 +1,7 @@
# encoding for Ruby 1.9
snippet enc snippet enc
# encoding: utf-8 # encoding: utf-8
# #!/usr/bin/env ruby
snippet #! snippet #!
#!/usr/bin/env ruby #!/usr/bin/env ruby
# encoding: utf-8
# New Block # New Block
snippet =b snippet =b
=begin rdoc =begin rdoc
@ -29,15 +24,12 @@ snippet beg
${0} ${0}
rescue ${1:Exception} => ${2:e} rescue ${1:Exception} => ${2:e}
end end
snippet req require snippet req require
require '${1}' require '${1}'
snippet reqr snippet reqr
require_relative '${1}' require_relative '${1}'
snippet # snippet #
# => # =>
snippet end
__END__
snippet case snippet case
case ${1:object} case ${1:object}
when ${2:condition} when ${2:condition}
@ -115,7 +107,7 @@ snippet cla class .. end
class ${1:`substitute(vim_snippets#Filename(), '\(_\|^\)\(.\)', '\u\2', 'g')`} class ${1:`substitute(vim_snippets#Filename(), '\(_\|^\)\(.\)', '\u\2', 'g')`}
${0} ${0}
end end
snippet cla class .. initialize .. end snippet clai class .. initialize .. end
class ${1:`substitute(vim_snippets#Filename(), '\(_\|^\)\(.\)', '\u\2', 'g')`} class ${1:`substitute(vim_snippets#Filename(), '\(_\|^\)\(.\)', '\u\2', 'g')`}
def initialize(${2:args}) def initialize(${2:args})
${0} ${0}