typofix: lambda. also follows coding convention
This commit is contained in:
parent
5f69130b33
commit
f25adadc50
@ -75,41 +75,47 @@ options word
|
||||
|
||||
snippet each_byte
|
||||
options word
|
||||
each_byte { |${1:#:variable}| ${2} }
|
||||
each_byte {|${1:#:variable}| ${2} }
|
||||
|
||||
snippet each_char
|
||||
options word
|
||||
each_char { |${1:#:variable}| ${2} }
|
||||
each_char {|${1:#:variable}| ${2} }
|
||||
|
||||
snippet each_index
|
||||
options word
|
||||
each_index { |${1:#:variable}| ${2} }
|
||||
each_index {|${1:#:variable}| ${2} }
|
||||
|
||||
snippet each_key
|
||||
options word
|
||||
each_key { |${1:#:variable}| ${2} }
|
||||
each_key {|${1:#:variable}| ${2} }
|
||||
|
||||
snippet each_line
|
||||
options word
|
||||
each_line { |${1:#:variable}| ${2} }
|
||||
each_line {|${1:#:variable}| ${2} }
|
||||
|
||||
snippet each_with_index
|
||||
options word
|
||||
each_with_index { |${1:#:variable}| ${2} }
|
||||
each_with_index {|${1:#:variable}| ${2} }
|
||||
|
||||
snippet map
|
||||
options word
|
||||
map { |${1:#:variable}| ${2} }
|
||||
map {|${1:#:variable}| ${2} }
|
||||
|
||||
snippet sort
|
||||
options word
|
||||
sort { |${1:#:variable}| ${2} }
|
||||
sort {|${1:#:variable}| ${2} }
|
||||
|
||||
snippet sort_by
|
||||
options word
|
||||
sort_by { |${1:#:variable}| ${2} }
|
||||
sort_by {|${1:#:variable}| ${2} }
|
||||
|
||||
snippet lamda
|
||||
snippet lambda
|
||||
options word
|
||||
lambda { |${1:#:args}| ${2} }
|
||||
lambda {|${1:#:args}| ${2} }
|
||||
|
||||
snippet main
|
||||
options head
|
||||
if __FILE__ == $ 0
|
||||
${1:TARGET}
|
||||
end
|
||||
# the space is necessary unfortunately..
|
||||
|
Loading…
Reference in New Issue
Block a user