@@ -39,11 +39,12 @@ abbr { ... }
39
39
40
40
snippet blockvar
41
41
abbr {|var| ... }
42
- {|${1: #:var } |
42
+ { |${1: #:var } |
43
43
${2: TARGET }
44
44
}
45
45
46
46
snippet fileopen
47
+ alias open
47
48
abbr File.open(filename) do ... end
48
49
File.open(${1: #:filename } , '${2: #:mode } ') do |${3: io } |
49
50
${0: TARGET }
@@ -65,7 +66,7 @@ alias enc
65
66
66
67
snippet each
67
68
options word
68
- each {|${1: #:variable } | ${2} }
69
+ each { |${1: #:variable } | ${2} }
69
70
70
71
snippet each_do
71
72
options word
@@ -75,47 +76,47 @@ options word
75
76
76
77
snippet each_byte
77
78
options word
78
- each_byte {|${1: #:variable } | ${2} }
79
+ each_byte { |${1: #:variable } | ${2} }
79
80
80
81
snippet each_char
81
82
options word
82
- each_char {|${1: #:variable } | ${2} }
83
+ each_char { |${1: #:variable } | ${2} }
83
84
84
85
snippet each_index
85
86
options word
86
- each_index {|${1: #:variable } | ${2} }
87
+ each_index { |${1: #:variable } | ${2} }
87
88
88
89
snippet each_key
89
90
options word
90
- each_key {|${1: #:variable } | ${2} }
91
+ each_key { |${1: #:variable } | ${2} }
91
92
92
93
snippet each_line
93
94
options word
94
- each_line {|${1: #:variable } | ${2} }
95
+ each_line { |${1: #:variable } | ${2} }
95
96
96
97
snippet each_with_index
97
98
options word
98
- each_with_index {|${1: #:variable } | ${2} }
99
+ each_with_index { |${1: #:variable } | ${2} }
99
100
100
101
snippet map
101
102
options word
102
- map {|${1: #:variable } | ${2} }
103
+ map { |${1: #:variable } | ${2} }
103
104
104
105
snippet sort
105
106
options word
106
- sort {|${1: #:variable } | ${2} }
107
+ sort { |${1: #:variable } | ${2} }
107
108
108
109
snippet sort_by
109
110
options word
110
- sort_by {|${1: #:variable } | ${2} }
111
+ sort_by { |${1: #:variable } | ${2} }
111
112
112
113
snippet lambda
113
114
options word
114
115
-> (${1: #:args } ) { ${2} }
115
116
116
117
snippet lambda-keyword
117
118
options word
118
- lambda {|${1: #:args } | ${2} }
119
+ lambda { |${1: #:args } | ${2} }
119
120
120
121
snippet main
121
122
options head
0 commit comments