File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ ' .source.ruby' :
2
+ " alias->ruby" :
3
+ " prefix" : " rb-alias"
4
+ " body" : """
5
+ alias new_name$1 old_name
6
+ """
7
+ " alias_method->ruby" :
8
+ " prefix" : " rb-aliasmethod"
9
+ " body" : """
10
+ alias_method :new_name$1, :old_name
11
+ """
12
+ " alias_method string ->ruby" :
13
+ " prefix" : " rb-aliasmethod2"
14
+ " body" : """
15
+ alias_method 'new_name$1', 'old_name'
16
+ """
17
+ " upcase->ruby" :
18
+ " prefix" : " rb-upcase"
19
+ " body" : """
20
+ upcase$1
21
+ """
22
+ " downcase->ruby" :
23
+ " prefix" : " rb-downcase"
24
+ " body" : """
25
+ downcase$1
26
+ """
27
+ " integer->ruby" :
28
+ " prefix" : " rb-integer"
29
+ " body" : """
30
+ to_i$1
31
+ """
32
+ " string->ruby" :
33
+ " prefix" : " rb-string"
34
+ " body" : """
35
+ to_s$1
36
+ """
37
+ " require->ruby" :
38
+ " prefix" : " rb-require"
39
+ " body" : """
40
+ require '$1'
41
+ """
You can’t perform that action at this time.
0 commit comments