shiritori 0.1.3 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +7 -0
- data/Gemfile +3 -0
- data/README.md +19 -2
- data/bin/shiritori +1 -1
- data/lib/shiritori/cli.rb +17 -0
- data/lib/shiritori/convert.rb +6 -5
- data/lib/shiritori/error.rb +8 -3
- data/lib/shiritori/search_method.rb +6 -8
- data/lib/shiritori/shiritori.rb +102 -50
- data/lib/shiritori/version.rb +1 -1
- data/lib/shiritori/view.rb +40 -20
- data/lib/shiritori/yaml/array.yaml +184 -0
- data/lib/shiritori/yaml/basic_object.yaml +11 -0
- data/lib/shiritori/yaml/bignum.yaml +35 -0
- data/lib/shiritori/yaml/binding.yaml +7 -0
- data/lib/shiritori/yaml/condition_variable.yaml +7 -0
- data/lib/shiritori/yaml/encoding.yaml +10 -0
- data/lib/shiritori/yaml/enumerator.yaml +13 -0
- data/lib/shiritori/yaml/exception.yaml +10 -0
- data/lib/shiritori/yaml/false.yaml +8 -0
- data/lib/shiritori/yaml/file.yaml +73 -0
- data/lib/shiritori/yaml/fixnum.yaml +37 -0
- data/lib/shiritori/yaml/match_data.yaml +22 -0
- data/lib/shiritori/yaml/method.yaml +19 -0
- data/lib/shiritori/yaml/module.yaml +40 -0
- data/lib/shiritori/yaml/mutex.yaml +11 -0
- data/lib/shiritori/yaml/nil.yaml +14 -0
- data/lib/shiritori/yaml/object.yaml +61 -0
- data/lib/shiritori/yaml/proc.yaml +17 -0
- data/lib/shiritori/yaml/queue.yaml +15 -0
- data/lib/shiritori/yaml/random.yaml +6 -0
- data/lib/shiritori/yaml/range.yaml +22 -0
- data/lib/shiritori/yaml/regexp.yaml +24 -0
- data/lib/shiritori/yaml/sized_queue.yaml +11 -0
- data/lib/shiritori/yaml/string.yaml +87 -0
- data/lib/shiritori/yaml/symbol.yaml +26 -0
- data/lib/shiritori/yaml/thread.yaml +43 -0
- data/lib/shiritori/yaml/true.yaml +8 -0
- data/lib/shiritori/yaml/unbound_method.yaml +15 -0
- data/lib/shiritori.rb +7 -3
- data/shiritori.gemspec +2 -0
- data/spec/shiritori/bignum_method_spec.rb +4 -1
- data/spec/shiritori/enumerator_method_spec.rb +9 -0
- data/spec/shiritori/fixnum_method_spec.rb +3 -1
- data/spec/shiritori/shiritori_spec.rb +49 -0
- data/spec/shiritori/string_method_spec.rb +4 -2
- data/spec/spec_helper.rb +16 -13
- metadata +49 -5
- data/lib/shiritori/command.rb +0 -6
@@ -0,0 +1,184 @@
|
|
1
|
+
:Array:
|
2
|
+
:singleton:
|
3
|
+
:[]: [Array]
|
4
|
+
:try_convert: [Array, NilClass]
|
5
|
+
:allocate: [Array]
|
6
|
+
:new: [Array]
|
7
|
+
:superclass: [Object]
|
8
|
+
:freeze: [Array]
|
9
|
+
:===: [TrueClass, FalseClass]
|
10
|
+
:==: [TrueClass, FalseClass]
|
11
|
+
:<=>: [Fixnum, NilClass]
|
12
|
+
:<: [TrueClass, FalseClass]
|
13
|
+
:<=: [TrueClass, FalseClass]
|
14
|
+
:>: [TrueClass, FalseClass]
|
15
|
+
:>=: [TrueClass, FalseClass]
|
16
|
+
:to_s: [String]
|
17
|
+
:inspect: [String]
|
18
|
+
:included_modules: [Array]
|
19
|
+
:include?: [TrueClass, FalseClass]
|
20
|
+
:name: [String]
|
21
|
+
:ancestors: [Array]
|
22
|
+
:instance_methods: [Array]
|
23
|
+
:public_instance_methods: [Array]
|
24
|
+
:protected_instance_methods: [Array]
|
25
|
+
:private_instance_methods: [Array]
|
26
|
+
:constants: [Array]
|
27
|
+
:const_get: [AnyObject]
|
28
|
+
:const_set: [AnyObject]
|
29
|
+
:const_defined?: [TrueClass, FalseClass]
|
30
|
+
:class_variables: [Array]
|
31
|
+
:remove_class_variable: [AnyObject]
|
32
|
+
:class_variable_get: [AnyObject]
|
33
|
+
:class_variable_set: [AnyObject]
|
34
|
+
:class_variable_defined?: [TrueClass, FalseClass]
|
35
|
+
:public_constant: [self]
|
36
|
+
:private_constant: [self]
|
37
|
+
:module_exec: [AnyObject]
|
38
|
+
:class_exec: [AnyObject]
|
39
|
+
:module_eval: [AnyObject]
|
40
|
+
:class_eval: [AnyObject]
|
41
|
+
:method_defined?: [TrueClass, FalseClass]
|
42
|
+
:public_method_defined?: [TrueClass, FalseClass]
|
43
|
+
:private_method_defined?: [TrueClass, FalseClass]
|
44
|
+
:protected_method_defined?: [TrueClass, FalseClass]
|
45
|
+
:public_class_method: [self]
|
46
|
+
:private_class_method: [self]
|
47
|
+
:autoload?: [NilClass]
|
48
|
+
:instance_method: [UnboundMethod]
|
49
|
+
:public_instance_method: true
|
50
|
+
:psych_yaml_as: true
|
51
|
+
:yaml_as: true
|
52
|
+
:psych_to_yaml: true
|
53
|
+
:to_yaml: true
|
54
|
+
:to_yaml_properties: true
|
55
|
+
:nil?: true
|
56
|
+
:=~: true
|
57
|
+
:!~: true
|
58
|
+
:eql?: true
|
59
|
+
:hash: true
|
60
|
+
:class: true
|
61
|
+
:singleton_class: true
|
62
|
+
:clone: true
|
63
|
+
:dup: true
|
64
|
+
:taint: true
|
65
|
+
:tainted?: true
|
66
|
+
:untaint: true
|
67
|
+
:untrust: true
|
68
|
+
:untrusted?: true
|
69
|
+
:trust: true
|
70
|
+
:frozen?: true
|
71
|
+
:methods: true
|
72
|
+
:singleton_methods: true
|
73
|
+
:protected_methods: true
|
74
|
+
:private_methods: true
|
75
|
+
:public_methods: true
|
76
|
+
:instance_variables: true
|
77
|
+
:instance_variable_get: true
|
78
|
+
:instance_variable_set: true
|
79
|
+
:instance_variable_defined?: true
|
80
|
+
:remove_instance_variable: true
|
81
|
+
:instance_of?: true
|
82
|
+
:kind_of?: true
|
83
|
+
:is_a?: true
|
84
|
+
:tap: true
|
85
|
+
:send: true
|
86
|
+
:public_send: true
|
87
|
+
:respond_to?: true
|
88
|
+
:extend: true
|
89
|
+
:display: true
|
90
|
+
:method: true
|
91
|
+
:public_method: true
|
92
|
+
:define_singleton_method: true
|
93
|
+
:object_id: true
|
94
|
+
:to_enum: true
|
95
|
+
:enum_for: true
|
96
|
+
:equal?: true
|
97
|
+
:!: true
|
98
|
+
:!=: true
|
99
|
+
:instance_eval: true
|
100
|
+
:instance_exec: true
|
101
|
+
:__send__: true
|
102
|
+
:__id__: true
|
103
|
+
:instance_method:
|
104
|
+
:&: [Array]
|
105
|
+
:*: [Array,String]
|
106
|
+
:+: [Array]
|
107
|
+
:-: [Array]
|
108
|
+
:<<: [Array]
|
109
|
+
:<=>: [Fixnum,NilClass]
|
110
|
+
:==: [TrueClass,FalseClass]
|
111
|
+
:[]: [Object,Array,NilClass]
|
112
|
+
:at: [Object,NilClass]
|
113
|
+
:assoc: [Array,NilClass]
|
114
|
+
:bsearch: [Object,NilClass]
|
115
|
+
:clear: [Array]
|
116
|
+
:clone: [Array]
|
117
|
+
:dup: [Array]
|
118
|
+
:collect!: [Array,Enumerator]
|
119
|
+
:map!: [Array,Enumerator]
|
120
|
+
:combination: [Array,Enumerator]
|
121
|
+
:compact: [Array]
|
122
|
+
:compact!: [Array,NilClass]
|
123
|
+
:concat: [Array]
|
124
|
+
:cycle: [NilClass,Enumerator]
|
125
|
+
:delete: [Object,NilClass]
|
126
|
+
:delete_at: [Object,NilClass]
|
127
|
+
:delete_if: [Array,Enumerator]
|
128
|
+
:reject!: [Array,NilClass,Enumerator]
|
129
|
+
:each: [Array,Enumerator]
|
130
|
+
:each_index: [Array,Enumerator]
|
131
|
+
:empty?: [TrueClass,FalseClass]
|
132
|
+
:eql?: [TrueClass,FalseClass]
|
133
|
+
:fetch: [Object]
|
134
|
+
:fill: [Array]
|
135
|
+
:find_index: [Integer,NilClass,Enumerator]
|
136
|
+
:index: [Integer,NilClass,Enumerator]
|
137
|
+
:first: [Object,NilClass,Array]
|
138
|
+
:flatten: [Array]
|
139
|
+
:flatten!: [Array,NilClass]
|
140
|
+
:hash: [Integer]
|
141
|
+
:include?: [TrueClass,FalseClass]
|
142
|
+
:insert: [Array]
|
143
|
+
:to_s: [String]
|
144
|
+
:inspect: [String]
|
145
|
+
:join: [String]
|
146
|
+
:keep_if: [Array,Enumerator]
|
147
|
+
:last: [Object,NilClass,Array]
|
148
|
+
:length: [Integer]
|
149
|
+
:size: [Integer]
|
150
|
+
:pack: [String]
|
151
|
+
:permutation: [Array,Enumerator]
|
152
|
+
:pop: [Object,NilClass,Array]
|
153
|
+
:product: [Array]
|
154
|
+
:push: [Array]
|
155
|
+
:rassoc: [Array,NilClass]
|
156
|
+
:repeated_combination: [Array,Enumerator]
|
157
|
+
:repeated_permutation: [Array,Enumerator]
|
158
|
+
:replace: [Array]
|
159
|
+
:reverse: [Array]
|
160
|
+
:reverse!: [Array]
|
161
|
+
:reverse_each: [Array,Enumerator]
|
162
|
+
:rindex: [Integer,NilClass,Enumerator]
|
163
|
+
:rotate: [Array]
|
164
|
+
:rotate!: [Array]
|
165
|
+
:sample: [Object,NilClass,Array]
|
166
|
+
:select!: [Array,NilClass,Enumerator]
|
167
|
+
:shift: [Object,NilClass,Array]
|
168
|
+
:shuffle: [Array]
|
169
|
+
:shuffle!: [Array]
|
170
|
+
:slice: [Object,Array,NilClass]
|
171
|
+
:slice!: [Object,Array,NilClass]
|
172
|
+
:sort: [Array]
|
173
|
+
:sort!: [Array]
|
174
|
+
:sort_by!: [Enumerator,Array]
|
175
|
+
:to_a: [Array]
|
176
|
+
:to_ary: [Array]
|
177
|
+
:to_h: [Hash]
|
178
|
+
:transpose: [Array]
|
179
|
+
:uniq: [Array]
|
180
|
+
:uniq!: [Array,NilClass]
|
181
|
+
:unshift: [Array]
|
182
|
+
:values_at: [Array]
|
183
|
+
:zip: [Array]
|
184
|
+
:|: [Array]
|
@@ -0,0 +1,11 @@
|
|
1
|
+
:BasicObject:
|
2
|
+
:singleton_method:
|
3
|
+
:instance_method:
|
4
|
+
:!: [TrueClass, FalseClass]
|
5
|
+
:!=: [TrueClass, FalseClass]
|
6
|
+
:==: [TrueClass, FalseClass]
|
7
|
+
:__id__: [Integer]
|
8
|
+
:__send__: [Object]
|
9
|
+
:equal?: [TrueClass, FalseClass]
|
10
|
+
:instance_eval: [Object]
|
11
|
+
:instance_exec: [Object]
|
@@ -0,0 +1,35 @@
|
|
1
|
+
:Bignum:
|
2
|
+
:singleton_method:
|
3
|
+
:instance_method:
|
4
|
+
:%: [Fixnum,Bignum,Float]
|
5
|
+
:modulo: [Fixnum,Bignum,Float]
|
6
|
+
:&: [Fixnum,Bignum]
|
7
|
+
:*: [Fixnum,Bignum,Float]
|
8
|
+
:**: [Fixnum,Bignum,Float]
|
9
|
+
:+: [Fixnum,Bignum,Float]
|
10
|
+
:-: [Integer]
|
11
|
+
:/: [Fixnum,Bignum,Float]
|
12
|
+
:div: [Fixnum,Bignum,Float]
|
13
|
+
:<<bits: [Fixnum,Bignum]
|
14
|
+
:<=>: [Fixnum,NilClass]
|
15
|
+
:==: [TrueClass,FalseClass]
|
16
|
+
:===: [TrueClass,FalseClass]
|
17
|
+
:>>bits: [Fixnum,Bignum]
|
18
|
+
:[nth]: [Fixnum]
|
19
|
+
:^: [Fixnum,Bignum]
|
20
|
+
:abs: [Fixnum,Bignum]
|
21
|
+
:magnitude: [Fixnum,Bignum]
|
22
|
+
:bit_length: [Integer]
|
23
|
+
:divmod: [Array]
|
24
|
+
:eql?: [TrueClass,FalseClass]
|
25
|
+
:even?: [TrueClass,FalseClass]
|
26
|
+
:fdiv: [Float,Complex]
|
27
|
+
:hash: [Integer]
|
28
|
+
:to_s: [String]
|
29
|
+
:inspect: [String]
|
30
|
+
:odd?: [TrueClass,FalseClass]
|
31
|
+
:remainder: [Fixnum,Bignum,Float]
|
32
|
+
:size: [Fixnum]
|
33
|
+
:to_f: [Float]
|
34
|
+
:|: [Fixnum,Bignum]
|
35
|
+
:~: [Fixnum,Bignum]
|
@@ -0,0 +1,13 @@
|
|
1
|
+
:Enumerator:
|
2
|
+
:singleton_method:
|
3
|
+
:instance_method:
|
4
|
+
:each: [Object]
|
5
|
+
:feed: [NilClass]
|
6
|
+
:next: [Object]
|
7
|
+
:next_values: [Array]
|
8
|
+
:peek: [Object]
|
9
|
+
:peek_values: [Array]
|
10
|
+
:rewind: [Enumerator]
|
11
|
+
:size: [Integer,INFINITY,NilClass]
|
12
|
+
:with_index: [Object, Enumerator]
|
13
|
+
:with_object: [Object, Enumerator]
|
@@ -0,0 +1,73 @@
|
|
1
|
+
File:
|
2
|
+
:singleton_method:
|
3
|
+
:absolute_path: [String]
|
4
|
+
:atime: [Time]
|
5
|
+
:basename: [String]
|
6
|
+
:blockdev?: [TrueClass,FalseClass]
|
7
|
+
:chardev?: [TrueClass,FalseClass]
|
8
|
+
:chmod: [Integer]
|
9
|
+
:chown: [Integer]
|
10
|
+
:ctime: [Time]
|
11
|
+
:delete: [Integer]
|
12
|
+
:unlink: [Integer]
|
13
|
+
:directory?: [TrueClass,FalseClass]
|
14
|
+
:dirname: [String]
|
15
|
+
:executable?: [TrueClass,FalseClass]
|
16
|
+
:executable_real?: [TrueClass,FalseClass]
|
17
|
+
:exist?: [TrueClass,FalseClass]
|
18
|
+
:exists?: [TrueClass,FalseClass]
|
19
|
+
:expand_path: [String]
|
20
|
+
:extname: [String]
|
21
|
+
:file?: [TrueClass,FalseClass]
|
22
|
+
:fnmatch: [TrueClass,FalseClass]
|
23
|
+
:fnmatch?: [TrueClass,FalseClass]
|
24
|
+
:ftype: [String]
|
25
|
+
:grpowned?: [TrueClass,FalseClass]
|
26
|
+
:identical?: [TrueClass,FalseClass]
|
27
|
+
:join: [String]
|
28
|
+
:lchmod: [Integer]
|
29
|
+
:lchown: [Integer]
|
30
|
+
:link: [Fixnum]
|
31
|
+
:lstat: [Stat]
|
32
|
+
:mtime: [Time]
|
33
|
+
:new: [File]
|
34
|
+
:open: [File,Object]
|
35
|
+
:owned?: [TrueClass,FalseClass]
|
36
|
+
:path: [String]
|
37
|
+
:pipe?: [TrueClass,FalseClass]
|
38
|
+
:readable?: [TrueClass,FalseClass]
|
39
|
+
:readable_real?: [TrueClass,FalseClass]
|
40
|
+
:readlink: [String]
|
41
|
+
:realdirpath: [String]
|
42
|
+
:realpath: [String]
|
43
|
+
:rename: [Fixnum]
|
44
|
+
:setgid?: [TrueClass,FalseClass]
|
45
|
+
:setuid?: [TrueClass,FalseClass]
|
46
|
+
:size: [Integer]
|
47
|
+
:size?: [TrueClass,FalseClass]
|
48
|
+
:socket?: [TrueClass,FalseClass]
|
49
|
+
:split: [Array]
|
50
|
+
:stat: [Stat]
|
51
|
+
:sticky?: [TrueClass,FalseClass]
|
52
|
+
:symlink: [Fixnum]
|
53
|
+
:symlink?: [TrueClass,FalseClass]
|
54
|
+
:truncate: [Fixnum]
|
55
|
+
:umask: [Integer]
|
56
|
+
:utime: [Integer]
|
57
|
+
:world_readable?: [Integer,NilClass]
|
58
|
+
:world_writable?: [TrueClass,FalseClass]
|
59
|
+
:writable?: [TrueClass,FalseClass]
|
60
|
+
:writable_real?: [TrueClass,FalseClass]
|
61
|
+
:zero?: [TrueClass,FalseClass]
|
62
|
+
:instance_method:
|
63
|
+
:atime: [Time]
|
64
|
+
:chmod: [Fixnum]
|
65
|
+
:chown: [Fixnum]
|
66
|
+
:ctime: [Time]
|
67
|
+
:flock: [Fixnum,FalseClass]
|
68
|
+
:lstat: [Stat]
|
69
|
+
:mtime: [Time]
|
70
|
+
:path: [String]
|
71
|
+
:to_path: [String]
|
72
|
+
:size: [Integer]
|
73
|
+
:truncate: [Fixnum]
|
@@ -0,0 +1,37 @@
|
|
1
|
+
:Fixnum:
|
2
|
+
:singleton_method:
|
3
|
+
:instance_method:
|
4
|
+
:%: [Fixnum,Bignum,Float]
|
5
|
+
:modulo: [Fixnum,Bignum,Float]
|
6
|
+
:&: [Fixnum,Bignum]
|
7
|
+
:*: [Fixnum,Bignum,Float]
|
8
|
+
:**: [Fixnum,Bignum,Float]
|
9
|
+
:+: [Fixnum,Bignum,Float]
|
10
|
+
:-: [Integer]
|
11
|
+
:/: [Fixnum,Bignum,Float]
|
12
|
+
:div: [Fixnum,Bignum,Float]
|
13
|
+
:<: [TrueClass,FalseClass]
|
14
|
+
:<<bits: [Fixnum,Bignum]
|
15
|
+
:<=: [TrueClass,FalseClass]
|
16
|
+
:<=>: [Fixnum]
|
17
|
+
:==: [TrueClass,FalseClass]
|
18
|
+
:>: [TrueClass,FalseClass]
|
19
|
+
:>=: [TrueClass,FalseClass]
|
20
|
+
:>>bits: [Fixnum,Bignum]
|
21
|
+
:[nth]: [Fixnum]
|
22
|
+
:^: [Fixnum,Bignum]
|
23
|
+
:abs: [Fixnum,Bignum]
|
24
|
+
:magnitude: [Fixnum,Bignum]
|
25
|
+
:bit_length: [Integer]
|
26
|
+
:divmod: [Array]
|
27
|
+
:even?: [TrueClass,FalseClass]
|
28
|
+
:fdiv: [Float,Complex]
|
29
|
+
:to_s: [String]
|
30
|
+
:inspect: [String]
|
31
|
+
:odd?: [TrueClass,FalseClass]
|
32
|
+
:size: [Fixnum]
|
33
|
+
:succ: [Fixnum,Bignum]
|
34
|
+
:to_f: [Float]
|
35
|
+
:zero?: [TrueClass,FalseClass]
|
36
|
+
:|: [Fixnum,Bignum]
|
37
|
+
:~: [Fixnum,Bignum]
|
@@ -0,0 +1,22 @@
|
|
1
|
+
:MatchData:
|
2
|
+
:singleton_method:
|
3
|
+
:instance_method:
|
4
|
+
:eql?: [TrueClass,FalseClass]
|
5
|
+
:==: [TrueClass,FalseClass]
|
6
|
+
:[]: [String,Array,NilClass]
|
7
|
+
:begin: [Fixnum,NilClass]
|
8
|
+
:captures: [Array]
|
9
|
+
:end: [Fixnum,NilClass]
|
10
|
+
:hash: [Integer]
|
11
|
+
:inspect: [String]
|
12
|
+
:length: [Fixnum]
|
13
|
+
:size: [Fixnum]
|
14
|
+
:names: [Array]
|
15
|
+
:offset: [Array]
|
16
|
+
:post_match: [String]
|
17
|
+
:pre_match: [String]
|
18
|
+
:regexp: [Regexp]
|
19
|
+
:string: [String]
|
20
|
+
:to_a: [Array]
|
21
|
+
:to_s: [String]
|
22
|
+
:values_at: [Array]
|
@@ -0,0 +1,19 @@
|
|
1
|
+
:Method:
|
2
|
+
:singleton_method:
|
3
|
+
:instance_method:
|
4
|
+
:==: [TrueClass,FalseClass]
|
5
|
+
:eql?: [TrueClass,FalseClass]
|
6
|
+
:[]: [Object]
|
7
|
+
:call: [Object]
|
8
|
+
:arity: [Fixnum]
|
9
|
+
:clone: [Method]
|
10
|
+
:hash: [Integer]
|
11
|
+
:inspect: [String]
|
12
|
+
:to_s: [String]
|
13
|
+
:name: [Symbol]
|
14
|
+
:owner: [Class,Module]
|
15
|
+
:parameters: [Array]
|
16
|
+
:receiver: [Object]
|
17
|
+
:source_location: [Array,NilClass]
|
18
|
+
:to_proc: [Proc]
|
19
|
+
:unbind: [UnboundMethod]
|
@@ -0,0 +1,40 @@
|
|
1
|
+
:Module:
|
2
|
+
:singleton_method:
|
3
|
+
:instance_method:
|
4
|
+
:<: [TrueClass,FalseClass,NilClass]
|
5
|
+
:<=: [TrueClass,FalseClass,NilClass]
|
6
|
+
:<=>: [Integer,NilClass]
|
7
|
+
:===: [TrueClass,FalseClass]
|
8
|
+
:>: [TrueClass,FalseClass,NilClass]
|
9
|
+
:>=: [TrueClass,FalseClass,NilClass]
|
10
|
+
:ancestors: [Array]
|
11
|
+
:autoload: [NilClass]
|
12
|
+
:autoload?: [String,NilClass]
|
13
|
+
:module_eval: [Object]
|
14
|
+
:class_eval: [Object]
|
15
|
+
:class_variable_defined?: [TrueClass,FalseClass]
|
16
|
+
:class_variables: [Array]
|
17
|
+
:const_defined?: [TrueClass,FalseClass]
|
18
|
+
:const_get: [Object]
|
19
|
+
:const_missing: [const_missing]
|
20
|
+
:const_set: [Object]
|
21
|
+
:constants: [Array]
|
22
|
+
:include?: [TrueClass,FalseClass]
|
23
|
+
:included_modules: [Array]
|
24
|
+
:name: [String]
|
25
|
+
:to_s: [String]
|
26
|
+
:inspect: [String]
|
27
|
+
:instance_method: [UnboundMethod]
|
28
|
+
:instance_methods: [Array]
|
29
|
+
:method_defined?: [TrueClass,FalseClass]
|
30
|
+
:prepend: [Module]
|
31
|
+
:private_class_method: [Module]
|
32
|
+
:private_instance_methods: [Array]
|
33
|
+
:private_method_defined?: [TrueClass,FalseClass]
|
34
|
+
:protected_instance_methods: [Array]
|
35
|
+
:protected_method_defined?: [TrueClass,FalseClass]
|
36
|
+
:public_class_method: [Module]
|
37
|
+
:public_instance_method: [UnboundMethod]
|
38
|
+
:public_instance_methods: [Array]
|
39
|
+
:public_method_defined?: [TrueClass,FalseClass]
|
40
|
+
:remove_class_variable: [Object]
|
@@ -0,0 +1,14 @@
|
|
1
|
+
:NilClass:
|
2
|
+
:singleton_method:
|
3
|
+
:instance_method:
|
4
|
+
:&: [FalseClass]
|
5
|
+
:^: [TrueClass, FalseClass]
|
6
|
+
:nil?: [TrueClass, FalseClass]
|
7
|
+
:rationalize: [Rational]
|
8
|
+
:to_a: [Array]
|
9
|
+
:to_c: [Complex]
|
10
|
+
:to_f: [Float]
|
11
|
+
:to_i: [Fixnum]
|
12
|
+
:to_r: [Rational]
|
13
|
+
:to_s: [String]
|
14
|
+
:|: [TrueClass, FalseClass]
|
@@ -0,0 +1,61 @@
|
|
1
|
+
:Object:
|
2
|
+
:singleton_method:
|
3
|
+
:instance_method:
|
4
|
+
:!~: [TrueClass,FalseClass]
|
5
|
+
:<=>: [Fixnum,NilClass]
|
6
|
+
:==: [TrueClass,FalseClass]
|
7
|
+
:===: [TrueClass,FalseClass]
|
8
|
+
:=~: [NilClass]
|
9
|
+
:send: [Object]
|
10
|
+
:__send__: [Object]
|
11
|
+
:_dump: [String]
|
12
|
+
:class: [Class]
|
13
|
+
:clone: [Object]
|
14
|
+
:dup: [Object]
|
15
|
+
:display: [NilClass]
|
16
|
+
:to_enum: [Enumerator]
|
17
|
+
:enum_for: [Enumerator]
|
18
|
+
:eql?: [TrueClass,FalseClass]
|
19
|
+
:equal?: [TrueClass,FalseClass]
|
20
|
+
:extend: [Object]
|
21
|
+
:freeze: [Object]
|
22
|
+
:frozen?: [TrueClass,FalseClass]
|
23
|
+
:hash: [Fixnum]
|
24
|
+
:inspect: [String]
|
25
|
+
:instance_of?: [TrueClass,FalseClass]
|
26
|
+
:instance_variable_defined?: [TrueClass,FalseClass]
|
27
|
+
:instance_variable_get: [Object,NilClass]
|
28
|
+
:instance_variable_set: [Object]
|
29
|
+
:instance_variables: [Array]
|
30
|
+
:is_a?: [TrueClass,FalseClass]
|
31
|
+
:kind_of?: [TrueClass,FalseClass]
|
32
|
+
:method: [Method]
|
33
|
+
:methods: [Array]
|
34
|
+
:nil?: [TrueClass,FalseClass]
|
35
|
+
:object_id: [Integer]
|
36
|
+
:private_methods: [Array]
|
37
|
+
:protected_methods: [Array]
|
38
|
+
:public_method: [Array]
|
39
|
+
:public_methods: [Array]
|
40
|
+
:public_send: [Object]
|
41
|
+
:remove_instance_variable: [Object]
|
42
|
+
:respond_to?: [TrueClass,FalseClass]
|
43
|
+
:singleton_class: [Class]
|
44
|
+
:singleton_method: [Method]
|
45
|
+
:singleton_methods: [Array]
|
46
|
+
:taint: [Self]
|
47
|
+
:tainted?: [TrueClass,FalseClass]
|
48
|
+
:tap: [Object]
|
49
|
+
:to_a: [Array]
|
50
|
+
:to_ary: [Array]
|
51
|
+
:to_hash: [Hash]
|
52
|
+
:to_int: [Integer]
|
53
|
+
:to_io: [IO]
|
54
|
+
:to_proc: [Proc]
|
55
|
+
:to_regexp: [Regexp]
|
56
|
+
:to_s: [String]
|
57
|
+
:to_str: [String]
|
58
|
+
:trust: [Self]
|
59
|
+
:untaint: [Self]
|
60
|
+
:untrust: [Self]
|
61
|
+
:untrusted?: [TrueClass,FalseClass]
|
@@ -0,0 +1,17 @@
|
|
1
|
+
:Proc:
|
2
|
+
:singleton_method:
|
3
|
+
:instance_method:
|
4
|
+
:[*arg]: [NilClass]
|
5
|
+
:call: [NilClass]
|
6
|
+
:===: [NilClass]
|
7
|
+
:yield: [NilClass]
|
8
|
+
:arity: [Fixnum]
|
9
|
+
:binding: [Binding]
|
10
|
+
:curry: [Proc]
|
11
|
+
:hash: [Integer]
|
12
|
+
:to_s: [String]
|
13
|
+
:inspect: [String]
|
14
|
+
:lambda?: [TrueClass,FalseClass]
|
15
|
+
:parameters: [Array]
|
16
|
+
:source_location: [Array,NilClass]
|
17
|
+
:to_proc: [Proc]
|
@@ -0,0 +1,15 @@
|
|
1
|
+
:Queue:
|
2
|
+
:singleton_method:
|
3
|
+
:new: [Queue]
|
4
|
+
:instance_method:
|
5
|
+
:push: [Queue]
|
6
|
+
:<<: [Queue]
|
7
|
+
:enq: [Queue]
|
8
|
+
:clear: [Queue]
|
9
|
+
:pop: [Object]
|
10
|
+
:shift: [Object]
|
11
|
+
:deq: [Object]
|
12
|
+
:empty?: [TrueClass,FalseClass]
|
13
|
+
:length: [Fixnum]
|
14
|
+
:size: [Fixnum]
|
15
|
+
:num_waiting: [Fixnum]
|
@@ -0,0 +1,22 @@
|
|
1
|
+
:Range:
|
2
|
+
:singleton_method:
|
3
|
+
:instance_method:
|
4
|
+
:==: [TrueClass, FalseClass]
|
5
|
+
:===: [TrueClass, FalseClass]
|
6
|
+
:include?: [TrueClass, FalseClass]
|
7
|
+
:member?: [TrueClass, FalseClass]
|
8
|
+
:begin: [Object]
|
9
|
+
:first: [Object]
|
10
|
+
:bsearch: [Object, NilClass]
|
11
|
+
:each: [Range, Enumerator]
|
12
|
+
:end: [Object]
|
13
|
+
:last: [Object]
|
14
|
+
:eql?: [TrueClass, FalseClass]
|
15
|
+
:exclude_end?: [TrueClass, FalseClass]
|
16
|
+
:hash: [Integer]
|
17
|
+
:inspect: [String]
|
18
|
+
:max: [Object, NilClass]
|
19
|
+
:min: [Object, NilClass]
|
20
|
+
:size: [Integer, NilClass]
|
21
|
+
:step: [Range, Enumerator]
|
22
|
+
:to_s: [String]
|
@@ -0,0 +1,24 @@
|
|
1
|
+
:Regexp:
|
2
|
+
:singleton_method:
|
3
|
+
:instance_method:
|
4
|
+
:escape: [String]
|
5
|
+
:quote: [String]
|
6
|
+
:last_match: [MatchData,String,NilClass]
|
7
|
+
:try_convert: [Regexp,NilClass]
|
8
|
+
:union: [Regexp]
|
9
|
+
:==: [TrueClass,FalseClass]
|
10
|
+
:eql?: [TrueClass,FalseClass]
|
11
|
+
:===: [TrueClass,FalseClass]
|
12
|
+
:=~: [Fixnum,NilClass]
|
13
|
+
:casefold?: [TrueClass,FalseClass]
|
14
|
+
:encoding: [Encoding]
|
15
|
+
:fixed_encoding?: [TrueClass,FalseClass]
|
16
|
+
:hash: [Fixnum]
|
17
|
+
:inspect: [String]
|
18
|
+
:match: [MatchData,Object,NilClass]
|
19
|
+
:named_captures: [Hash]
|
20
|
+
:names: [Array]
|
21
|
+
:options: [Integer]
|
22
|
+
:source: [String]
|
23
|
+
:to_s: [String]
|
24
|
+
:~: [Fixnum,NilClass]
|