@@ -8,19 +8,19 @@ options head
88snippet      if 
99abbr         if ... end 
1010  if ${1: #:condition } 
11-     ${2 : TARGET } 
11+     ${0 : TARGET } 
1212  end
1313
1414snippet      unless 
1515abbr         unless ... end 
1616  unless ${1: #:condition } 
17-     ${2 : TARGET } 
17+     ${0 : TARGET } 
1818  end
1919
2020snippet      def 
2121abbr         def ... end 
2222  def ${1: #:method_name } 
23-     ${2 : TARGET } 
23+     ${0 : TARGET } 
2424  end
2525
2626snippet      defrescue 
@@ -29,31 +29,31 @@ abbr        def ... rescue ... end
2929  def ${1: #:method_name } 
3030    ${2: TARGET } 
3131  rescue ${3: #:StandardError }  => ${4: error } 
32-     ${5 } 
32+     ${0 } 
3333  end
3434
3535snippet      do 
3636abbr         do ... end 
3737  do
38-     ${1 : TARGET } 
38+     ${0 : TARGET } 
3939  end
4040
4141snippet      dovar 
4242abbr         do |var| ... end 
4343  do |${1: #:var } |
44-     ${2 : TARGET } 
44+     ${0 : TARGET } 
4545  end
4646
4747snippet      block 
4848abbr         { ... } 
4949  {
50-     ${1 : TARGET } 
50+     ${0 : TARGET } 
5151  }
5252
5353snippet      blockvar 
5454abbr         {|var| ... } 
5555  {|${1: #:var } |
56-     ${2 : TARGET } 
56+     ${0 : TARGET } 
5757  }
5858
5959snippet      fileopen 
@@ -80,62 +80,62 @@ alias   enc
8080snippet  each 
8181options  word 
8282  each do |${1: #:variable } |
83-     ${2 } 
83+     ${0 } 
8484  end
8585
8686snippet  each_byte 
8787options  word 
88-   each_byte {|${1: #:variable } | ${2 }  }
88+   each_byte {|${1: #:variable } | ${0 }  }
8989
9090snippet  each_char 
9191options  word 
92-   each_char {|${1: #:variable } | ${2 }  }
92+   each_char {|${1: #:variable } | ${0 }  }
9393
9494snippet  each_index 
9595options  word 
96-   each_index {|${1: #:variable } | ${2 }  }
96+   each_index {|${1: #:variable } | ${0 }  }
9797
9898snippet  each_key 
9999options  word 
100-   each_key {|${1: #:variable } | ${2 }  }
100+   each_key {|${1: #:variable } | ${0 }  }
101101
102102snippet  each_line 
103103options  word 
104-   each_line {|${1: #:variable } | ${2 }  }
104+   each_line {|${1: #:variable } | ${0 }  }
105105
106106snippet  each_with_index 
107107options  word 
108-   each_with_index {|${1: #:variable } | ${2 }  }
108+   each_with_index {|${1: #:variable } | ${0 }  }
109109
110110snippet  each_pair 
111111options  word 
112-   each_pair {|${1: #:key } , ${2: value } | ${3 }  }
112+   each_pair {|${1: #:key } , ${2: value } | ${0 }  }
113113
114114snippet  each_pair_do 
115115options  word 
116116  each_pair do |${1: key } , ${2: value } |
117-     ${3 } 
117+     ${0 } 
118118  end
119119
120120snippet  map 
121121options  word 
122-   map {|${1: #:variable } | ${2 }  }
122+   map {|${1: #:variable } | ${0 }  }
123123
124124snippet  sort 
125125options  word 
126-   sort {|${1: x } , ${2: y } | ${2 }  }
126+   sort {|${1: x } , ${2: y } | ${0 }  }
127127
128128snippet  sort_by 
129129options  word 
130-   sort_by {|${1: #:variable } | ${2 }  }
130+   sort_by {|${1: #:variable } | ${0 }  }
131131
132132snippet  lambda 
133133options  word 
134-   -> (${1: #:args } ) { ${2 }  }
134+   -> (${1: #:args } ) { ${0 }  }
135135
136136snippet  lambda-keyword 
137137options  word 
138-   lambda {|${1: #:args } | ${2 }  }
138+   lambda {|${1: #:args } | ${0 }  }
139139
140140snippet      main 
141141options      head 
@@ -162,7 +162,7 @@ options     head
162162  when ${2} 
163163    ${3} 
164164  else
165-     ${4 } 
165+     ${0 } 
166166  end
167167
168168snippet      class 
0 commit comments