steep 0.11.1 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (299) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +27 -0
  3. data/.gitmodules +3 -0
  4. data/CHANGELOG.md +5 -0
  5. data/README.md +48 -90
  6. data/Rakefile +10 -6
  7. data/Steepfile +1 -0
  8. data/bin/setup +1 -0
  9. data/bin/smoke_runner.rb +9 -14
  10. data/exe/rbs +3 -0
  11. data/exe/ruby-signature +3 -0
  12. data/exe/steep +1 -0
  13. data/lib/steep.rb +32 -26
  14. data/lib/steep/annotation_parser.rb +167 -0
  15. data/lib/steep/ast/annotation/collection.rb +7 -7
  16. data/lib/steep/ast/types.rb +60 -0
  17. data/lib/steep/ast/types/any.rb +1 -1
  18. data/lib/steep/ast/types/factory.rb +535 -0
  19. data/lib/steep/ast/types/name.rb +3 -3
  20. data/lib/steep/ast/types/var.rb +1 -1
  21. data/lib/steep/cli.rb +56 -240
  22. data/lib/steep/drivers/annotations.rb +36 -19
  23. data/lib/steep/drivers/check.rb +55 -91
  24. data/lib/steep/drivers/init.rb +54 -0
  25. data/lib/steep/drivers/langserver.rb +241 -150
  26. data/lib/steep/drivers/print_project.rb +56 -0
  27. data/lib/steep/drivers/signature_error_printer.rb +25 -0
  28. data/lib/steep/drivers/trace_printer.rb +25 -0
  29. data/lib/steep/drivers/utils/driver_helper.rb +26 -0
  30. data/lib/steep/drivers/validate.rb +18 -38
  31. data/lib/steep/drivers/vendor.rb +46 -0
  32. data/lib/steep/drivers/watch.rb +78 -140
  33. data/lib/steep/errors.rb +22 -13
  34. data/lib/steep/interface/interface.rb +91 -0
  35. data/lib/steep/interface/method.rb +0 -4
  36. data/lib/steep/interface/method_type.rb +362 -2
  37. data/lib/steep/interface/substitution.rb +22 -0
  38. data/lib/steep/project.rb +25 -233
  39. data/lib/steep/project/dsl.rb +132 -0
  40. data/lib/steep/project/file.rb +93 -76
  41. data/lib/steep/project/file_loader.rb +63 -0
  42. data/lib/steep/project/options.rb +7 -0
  43. data/lib/steep/project/target.rb +190 -0
  44. data/lib/steep/signature/errors.rb +25 -77
  45. data/lib/steep/signature/validator.rb +122 -0
  46. data/lib/steep/source.rb +12 -7
  47. data/lib/steep/subtyping/check.rb +357 -633
  48. data/lib/steep/subtyping/constraints.rb +2 -2
  49. data/lib/steep/subtyping/trace.rb +23 -0
  50. data/lib/steep/type_construction.rb +509 -455
  51. data/lib/steep/type_inference/constant_env.rb +16 -24
  52. data/lib/steep/type_inference/type_env.rb +26 -18
  53. data/lib/steep/version.rb +1 -1
  54. data/sample/Steepfile +6 -0
  55. data/sample/lib/conference.rb +12 -0
  56. data/sample/sig/conference.rbs +6 -0
  57. data/smoke/alias/Steepfile +4 -0
  58. data/smoke/alias/a.rb +2 -2
  59. data/smoke/alias/{a.rbi → a.rbs} +1 -1
  60. data/smoke/and/Steepfile +4 -0
  61. data/smoke/array/Steepfile +4 -0
  62. data/smoke/array/a.rb +2 -2
  63. data/smoke/array/b.rb +4 -4
  64. data/smoke/array/c.rb +2 -2
  65. data/smoke/block/Steepfile +5 -0
  66. data/smoke/block/{a.rbi → a.rbs} +1 -1
  67. data/smoke/block/{c.rbi → c.rbs} +0 -0
  68. data/smoke/block/d.rb +6 -6
  69. data/smoke/case/Steepfile +4 -0
  70. data/smoke/case/a.rb +4 -3
  71. data/smoke/class/Steepfile +4 -0
  72. data/smoke/class/a.rb +1 -4
  73. data/smoke/class/a.rbs +24 -0
  74. data/smoke/class/h.rb +6 -2
  75. data/smoke/class/{h.rbi → h.rbs} +1 -2
  76. data/smoke/class/i.rb +1 -2
  77. data/smoke/class/i.rbs +9 -0
  78. data/smoke/const/Steepfile +4 -0
  79. data/smoke/dstr/Steepfile +4 -0
  80. data/smoke/ensure/Steepfile +4 -0
  81. data/smoke/ensure/a.rb +1 -1
  82. data/smoke/enumerator/Steepfile +4 -0
  83. data/smoke/enumerator/a.rb +7 -7
  84. data/smoke/enumerator/b.rb +6 -6
  85. data/smoke/extension/Steepfile +4 -0
  86. data/smoke/extension/{a.rbi → a.rbs} +2 -2
  87. data/smoke/extension/{e.rbi → e.rbs} +2 -2
  88. data/smoke/hash/Steepfile +4 -0
  89. data/smoke/hash/{a.rbi → a.rbs} +0 -0
  90. data/smoke/hash/b.rb +2 -2
  91. data/smoke/hash/c.rb +1 -1
  92. data/smoke/hash/e.rbs +3 -0
  93. data/smoke/hash/f.rb +1 -1
  94. data/smoke/hello/Steepfile +4 -0
  95. data/smoke/hello/hello.rbs +7 -0
  96. data/smoke/if/Steepfile +4 -0
  97. data/smoke/implements/Steepfile +4 -0
  98. data/smoke/implements/a.rbs +6 -0
  99. data/smoke/initialize/Steepfile +4 -0
  100. data/smoke/initialize/a.rbs +3 -0
  101. data/smoke/integer/Steepfile +4 -0
  102. data/smoke/integer/a.rb +5 -3
  103. data/smoke/interface/Steepfile +4 -0
  104. data/smoke/interface/{a.rbi → a.rbs} +0 -0
  105. data/smoke/kwbegin/Steepfile +4 -0
  106. data/smoke/lambda/Steepfile +4 -0
  107. data/smoke/lambda/a.rb +9 -2
  108. data/smoke/literal/Steepfile +4 -0
  109. data/smoke/literal/{literal_methods.rbi → literal_methods.rbs} +0 -0
  110. data/smoke/map/Steepfile +4 -0
  111. data/smoke/map/a.rb +1 -1
  112. data/smoke/method/Steepfile +4 -0
  113. data/smoke/method/{a.rbi → a.rbs} +0 -0
  114. data/smoke/method/b.rb +1 -4
  115. data/smoke/method/d.rb +1 -0
  116. data/smoke/method/d.rbs +3 -0
  117. data/smoke/module/Steepfile +4 -0
  118. data/smoke/module/a.rb +1 -1
  119. data/smoke/module/a.rbs +16 -0
  120. data/smoke/module/c.rb +1 -1
  121. data/smoke/regexp/Steepfile +4 -0
  122. data/smoke/regexp/a.rb +2 -2
  123. data/smoke/regexp/b.rb +16 -16
  124. data/smoke/regression/Steepfile +5 -0
  125. data/smoke/regression/array.rb +2 -2
  126. data/smoke/regression/hash.rb +2 -2
  127. data/smoke/regression/poly_new.rb +2 -0
  128. data/smoke/regression/poly_new.rbs +4 -0
  129. data/smoke/regression/set_divide.rb +2 -2
  130. data/smoke/rescue/Steepfile +4 -0
  131. data/smoke/rescue/a.rb +1 -1
  132. data/smoke/self/Steepfile +4 -0
  133. data/smoke/self/a.rbs +4 -0
  134. data/smoke/skip/Steepfile +4 -0
  135. data/smoke/stdout/Steepfile +4 -0
  136. data/smoke/stdout/{a.rbi → a.rbs} +1 -1
  137. data/smoke/super/Steepfile +4 -0
  138. data/smoke/super/a.rbs +10 -0
  139. data/smoke/type_case/Steepfile +4 -0
  140. data/smoke/type_case/a.rb +1 -1
  141. data/smoke/yield/Steepfile +4 -0
  142. data/smoke/yield/a.rb +2 -2
  143. data/steep.gemspec +14 -7
  144. data/vendor/ruby-signature/.github/workflows/ruby.yml +27 -0
  145. data/vendor/ruby-signature/.gitignore +12 -0
  146. data/vendor/ruby-signature/.rubocop.yml +15 -0
  147. data/vendor/ruby-signature/BSDL +22 -0
  148. data/vendor/ruby-signature/COPYING +56 -0
  149. data/vendor/ruby-signature/Gemfile +6 -0
  150. data/vendor/ruby-signature/README.md +93 -0
  151. data/vendor/ruby-signature/Rakefile +66 -0
  152. data/vendor/ruby-signature/bin/annotate-with-rdoc +156 -0
  153. data/vendor/ruby-signature/bin/console +14 -0
  154. data/vendor/ruby-signature/bin/query-rdoc +103 -0
  155. data/vendor/ruby-signature/bin/setup +10 -0
  156. data/vendor/ruby-signature/bin/sort +88 -0
  157. data/vendor/ruby-signature/bin/test_runner.rb +17 -0
  158. data/vendor/ruby-signature/docs/CONTRIBUTING.md +97 -0
  159. data/vendor/ruby-signature/docs/sigs.md +148 -0
  160. data/vendor/ruby-signature/docs/stdlib.md +152 -0
  161. data/vendor/ruby-signature/docs/syntax.md +528 -0
  162. data/vendor/ruby-signature/exe/rbs +3 -0
  163. data/vendor/ruby-signature/exe/ruby-signature +7 -0
  164. data/vendor/ruby-signature/lib/ruby/signature.rb +64 -0
  165. data/vendor/ruby-signature/lib/ruby/signature/ast/annotation.rb +29 -0
  166. data/vendor/ruby-signature/lib/ruby/signature/ast/comment.rb +29 -0
  167. data/vendor/ruby-signature/lib/ruby/signature/ast/declarations.rb +391 -0
  168. data/vendor/ruby-signature/lib/ruby/signature/ast/members.rb +364 -0
  169. data/vendor/ruby-signature/lib/ruby/signature/buffer.rb +52 -0
  170. data/vendor/ruby-signature/lib/ruby/signature/builtin_names.rb +54 -0
  171. data/vendor/ruby-signature/lib/ruby/signature/cli.rb +534 -0
  172. data/vendor/ruby-signature/lib/ruby/signature/constant.rb +28 -0
  173. data/vendor/ruby-signature/lib/ruby/signature/constant_table.rb +152 -0
  174. data/vendor/ruby-signature/lib/ruby/signature/definition.rb +172 -0
  175. data/vendor/ruby-signature/lib/ruby/signature/definition_builder.rb +921 -0
  176. data/vendor/ruby-signature/lib/ruby/signature/environment.rb +283 -0
  177. data/vendor/ruby-signature/lib/ruby/signature/environment_loader.rb +138 -0
  178. data/vendor/ruby-signature/lib/ruby/signature/environment_walker.rb +126 -0
  179. data/vendor/ruby-signature/lib/ruby/signature/errors.rb +189 -0
  180. data/vendor/ruby-signature/lib/ruby/signature/location.rb +104 -0
  181. data/vendor/ruby-signature/lib/ruby/signature/method_type.rb +125 -0
  182. data/vendor/ruby-signature/lib/ruby/signature/namespace.rb +93 -0
  183. data/vendor/ruby-signature/lib/ruby/signature/parser.y +1343 -0
  184. data/vendor/ruby-signature/lib/ruby/signature/prototype/rb.rb +441 -0
  185. data/vendor/ruby-signature/lib/ruby/signature/prototype/rbi.rb +579 -0
  186. data/vendor/ruby-signature/lib/ruby/signature/prototype/runtime.rb +383 -0
  187. data/vendor/ruby-signature/lib/ruby/signature/substitution.rb +48 -0
  188. data/vendor/ruby-signature/lib/ruby/signature/test.rb +28 -0
  189. data/vendor/ruby-signature/lib/ruby/signature/test/errors.rb +63 -0
  190. data/vendor/ruby-signature/lib/ruby/signature/test/hook.rb +290 -0
  191. data/vendor/ruby-signature/lib/ruby/signature/test/setup.rb +58 -0
  192. data/vendor/ruby-signature/lib/ruby/signature/test/spy.rb +324 -0
  193. data/vendor/ruby-signature/lib/ruby/signature/test/test_helper.rb +185 -0
  194. data/vendor/ruby-signature/lib/ruby/signature/test/type_check.rb +256 -0
  195. data/vendor/ruby-signature/lib/ruby/signature/type_name.rb +72 -0
  196. data/vendor/ruby-signature/lib/ruby/signature/types.rb +932 -0
  197. data/vendor/ruby-signature/lib/ruby/signature/variance_calculator.rb +140 -0
  198. data/vendor/ruby-signature/lib/ruby/signature/vendorer.rb +49 -0
  199. data/vendor/ruby-signature/lib/ruby/signature/version.rb +5 -0
  200. data/vendor/ruby-signature/lib/ruby/signature/writer.rb +271 -0
  201. data/vendor/ruby-signature/ruby-signature.gemspec +45 -0
  202. data/vendor/ruby-signature/stdlib/abbrev/abbrev.rbs +3 -0
  203. data/vendor/ruby-signature/stdlib/base64/base64.rbs +15 -0
  204. data/vendor/ruby-signature/stdlib/builtin/array.rbs +1997 -0
  205. data/vendor/ruby-signature/stdlib/builtin/basic_object.rbs +280 -0
  206. data/vendor/ruby-signature/stdlib/builtin/binding.rbs +177 -0
  207. data/vendor/ruby-signature/stdlib/builtin/builtin.rbs +35 -0
  208. data/vendor/ruby-signature/stdlib/builtin/class.rbs +145 -0
  209. data/vendor/ruby-signature/stdlib/builtin/comparable.rbs +116 -0
  210. data/vendor/ruby-signature/stdlib/builtin/complex.rbs +400 -0
  211. data/vendor/ruby-signature/stdlib/builtin/constants.rbs +37 -0
  212. data/vendor/ruby-signature/stdlib/builtin/data.rbs +5 -0
  213. data/vendor/ruby-signature/stdlib/builtin/deprecated.rbs +2 -0
  214. data/vendor/ruby-signature/stdlib/builtin/dir.rbs +419 -0
  215. data/vendor/ruby-signature/stdlib/builtin/encoding.rbs +606 -0
  216. data/vendor/ruby-signature/stdlib/builtin/enumerable.rbs +404 -0
  217. data/vendor/ruby-signature/stdlib/builtin/enumerator.rbs +260 -0
  218. data/vendor/ruby-signature/stdlib/builtin/errno.rbs +781 -0
  219. data/vendor/ruby-signature/stdlib/builtin/errors.rbs +582 -0
  220. data/vendor/ruby-signature/stdlib/builtin/exception.rbs +193 -0
  221. data/vendor/ruby-signature/stdlib/builtin/false_class.rbs +40 -0
  222. data/vendor/ruby-signature/stdlib/builtin/fiber.rbs +68 -0
  223. data/vendor/ruby-signature/stdlib/builtin/fiber_error.rbs +12 -0
  224. data/vendor/ruby-signature/stdlib/builtin/file.rbs +476 -0
  225. data/vendor/ruby-signature/stdlib/builtin/file_test.rbs +59 -0
  226. data/vendor/ruby-signature/stdlib/builtin/float.rbs +696 -0
  227. data/vendor/ruby-signature/stdlib/builtin/gc.rbs +121 -0
  228. data/vendor/ruby-signature/stdlib/builtin/hash.rbs +1029 -0
  229. data/vendor/ruby-signature/stdlib/builtin/integer.rbs +710 -0
  230. data/vendor/ruby-signature/stdlib/builtin/io.rbs +683 -0
  231. data/vendor/ruby-signature/stdlib/builtin/kernel.rbs +574 -0
  232. data/vendor/ruby-signature/stdlib/builtin/marshal.rbs +135 -0
  233. data/vendor/ruby-signature/stdlib/builtin/match_data.rbs +141 -0
  234. data/vendor/ruby-signature/stdlib/builtin/math.rbs +66 -0
  235. data/vendor/ruby-signature/stdlib/builtin/method.rbs +182 -0
  236. data/vendor/ruby-signature/stdlib/builtin/module.rbs +248 -0
  237. data/vendor/ruby-signature/stdlib/builtin/nil_class.rbs +82 -0
  238. data/vendor/ruby-signature/stdlib/builtin/numeric.rbs +409 -0
  239. data/vendor/ruby-signature/stdlib/builtin/object.rbs +824 -0
  240. data/vendor/ruby-signature/stdlib/builtin/proc.rbs +426 -0
  241. data/vendor/ruby-signature/stdlib/builtin/process.rbs +354 -0
  242. data/vendor/ruby-signature/stdlib/builtin/random.rbs +93 -0
  243. data/vendor/ruby-signature/stdlib/builtin/range.rbs +226 -0
  244. data/vendor/ruby-signature/stdlib/builtin/rational.rbs +424 -0
  245. data/vendor/ruby-signature/stdlib/builtin/rb_config.rbs +10 -0
  246. data/vendor/ruby-signature/stdlib/builtin/regexp.rbs +131 -0
  247. data/vendor/ruby-signature/stdlib/builtin/ruby_vm.rbs +14 -0
  248. data/vendor/ruby-signature/stdlib/builtin/signal.rbs +55 -0
  249. data/vendor/ruby-signature/stdlib/builtin/string.rbs +770 -0
  250. data/vendor/ruby-signature/stdlib/builtin/string_io.rbs +13 -0
  251. data/vendor/ruby-signature/stdlib/builtin/struct.rbs +40 -0
  252. data/vendor/ruby-signature/stdlib/builtin/symbol.rbs +230 -0
  253. data/vendor/ruby-signature/stdlib/builtin/thread.rbs +1112 -0
  254. data/vendor/ruby-signature/stdlib/builtin/thread_group.rbs +23 -0
  255. data/vendor/ruby-signature/stdlib/builtin/time.rbs +739 -0
  256. data/vendor/ruby-signature/stdlib/builtin/trace_point.rbs +91 -0
  257. data/vendor/ruby-signature/stdlib/builtin/true_class.rbs +46 -0
  258. data/vendor/ruby-signature/stdlib/builtin/unbound_method.rbs +159 -0
  259. data/vendor/ruby-signature/stdlib/builtin/warning.rbs +17 -0
  260. data/vendor/ruby-signature/stdlib/erb/erb.rbs +18 -0
  261. data/vendor/ruby-signature/stdlib/find/find.rbs +44 -0
  262. data/vendor/ruby-signature/stdlib/pathname/pathname.rbs +21 -0
  263. data/vendor/ruby-signature/stdlib/prime/integer-extension.rbs +23 -0
  264. data/vendor/ruby-signature/stdlib/prime/prime.rbs +188 -0
  265. data/vendor/ruby-signature/stdlib/securerandom/securerandom.rbs +9 -0
  266. data/vendor/ruby-signature/stdlib/set/set.rbs +77 -0
  267. data/vendor/ruby-signature/stdlib/tmpdir/tmpdir.rbs +53 -0
  268. metadata +244 -54
  269. data/.travis.yml +0 -7
  270. data/lib/steep/ast/signature/alias.rb +0 -19
  271. data/lib/steep/ast/signature/class.rb +0 -33
  272. data/lib/steep/ast/signature/const.rb +0 -17
  273. data/lib/steep/ast/signature/env.rb +0 -138
  274. data/lib/steep/ast/signature/extension.rb +0 -21
  275. data/lib/steep/ast/signature/gvar.rb +0 -17
  276. data/lib/steep/ast/signature/interface.rb +0 -31
  277. data/lib/steep/ast/signature/members.rb +0 -115
  278. data/lib/steep/ast/signature/module.rb +0 -21
  279. data/lib/steep/drivers/print_interface.rb +0 -94
  280. data/lib/steep/drivers/scaffold.rb +0 -321
  281. data/lib/steep/drivers/utils/each_signature.rb +0 -31
  282. data/lib/steep/interface/abstract.rb +0 -68
  283. data/lib/steep/interface/builder.rb +0 -637
  284. data/lib/steep/interface/instantiated.rb +0 -163
  285. data/lib/steep/interface/ivar_chain.rb +0 -26
  286. data/lib/steep/parser.y +0 -1278
  287. data/lib/steep/project/listener.rb +0 -53
  288. data/smoke/class/a.rbi +0 -24
  289. data/smoke/class/d.rb +0 -9
  290. data/smoke/class/e.rb +0 -12
  291. data/smoke/class/i.rbi +0 -9
  292. data/smoke/hash/e.rbi +0 -3
  293. data/smoke/hello/hello.rbi +0 -7
  294. data/smoke/implements/a.rbi +0 -6
  295. data/smoke/initialize/a.rbi +0 -3
  296. data/smoke/module/a.rbi +0 -16
  297. data/smoke/self/a.rbi +0 -4
  298. data/smoke/super/a.rbi +0 -10
  299. data/stdlib/builtin.rbi +0 -787
@@ -0,0 +1,781 @@
1
+ # Ruby exception objects are subclasses of Exception. However, operating
2
+ # systems typically report errors using plain integers. Module Errno is created
3
+ # dynamically to map these operating system errors to Ruby classes, with each
4
+ # error number generating its own subclass of SystemCallError. As the subclass
5
+ # is created in module Errno, its name will start `Errno::`.
6
+ #
7
+ # The names of the `Errno::` classes depend on the environment in which Ruby
8
+ # runs. On a typical Unix or Windows platform, there are Errno classes such as
9
+ # Errno::EACCES, Errno::EAGAIN, Errno::EINTR, and so on.
10
+ #
11
+ # The integer operating system error number corresponding to a particular error
12
+ # is available as the class constant `Errno::`*error*`::Errno`.
13
+ #
14
+ # Errno::EACCES::Errno #=> 13
15
+ # Errno::EAGAIN::Errno #=> 11
16
+ # Errno::EINTR::Errno #=> 4
17
+ #
18
+ # The full list of operating system errors on your particular platform are
19
+ # available as the constants of Errno.
20
+ #
21
+ # Errno.constants #=> :E2BIG, :EACCES, :EADDRINUSE, :EADDRNOTAVAIL, ...
22
+ # System call error module used by webrick for cross platform compatibility.
23
+ #
24
+ # EPROTO
25
+ # : protocol error
26
+ # ECONNRESET
27
+ # : remote host reset the connection request
28
+ # ECONNABORTED
29
+ # : Client sent TCP reset (RST) before server has accepted the connection
30
+ # requested by client.
31
+ #
32
+ #
33
+ module Errno
34
+ end
35
+
36
+ class Errno::E2BIG < SystemCallError
37
+ end
38
+
39
+ Errno::E2BIG::Errno: Integer
40
+
41
+ class Errno::EACCES < SystemCallError
42
+ end
43
+
44
+ Errno::EACCES::Errno: Integer
45
+
46
+ class Errno::EADDRINUSE < SystemCallError
47
+ end
48
+
49
+ Errno::EADDRINUSE::Errno: Integer
50
+
51
+ class Errno::EADDRNOTAVAIL < SystemCallError
52
+ end
53
+
54
+ Errno::EADDRNOTAVAIL::Errno: Integer
55
+
56
+ class Errno::EADV < SystemCallError
57
+ end
58
+
59
+ Errno::EADV::Errno: Integer
60
+
61
+ class Errno::EAFNOSUPPORT < SystemCallError
62
+ end
63
+
64
+ Errno::EAFNOSUPPORT::Errno: Integer
65
+
66
+ class Errno::EAGAIN < SystemCallError
67
+ end
68
+
69
+ Errno::EAGAIN::Errno: Integer
70
+
71
+ class Errno::EALREADY < SystemCallError
72
+ end
73
+
74
+ Errno::EALREADY::Errno: Integer
75
+
76
+ class Errno::EAUTH < SystemCallError
77
+ end
78
+
79
+ Errno::EAUTH::Errno: Integer
80
+
81
+ class Errno::EBADE < SystemCallError
82
+ end
83
+
84
+ Errno::EBADE::Errno: Integer
85
+
86
+ class Errno::EBADF < SystemCallError
87
+ end
88
+
89
+ Errno::EBADF::Errno: Integer
90
+
91
+ class Errno::EBADFD < SystemCallError
92
+ end
93
+
94
+ Errno::EBADFD::Errno: Integer
95
+
96
+ class Errno::EBADMSG < SystemCallError
97
+ end
98
+
99
+ Errno::EBADMSG::Errno: Integer
100
+
101
+ class Errno::EBADR < SystemCallError
102
+ end
103
+
104
+ Errno::EBADR::Errno: Integer
105
+
106
+ class Errno::EBADRPC < SystemCallError
107
+ end
108
+
109
+ Errno::EBADRPC::Errno: Integer
110
+
111
+ class Errno::EBADRQC < SystemCallError
112
+ end
113
+
114
+ Errno::EBADRQC::Errno: Integer
115
+
116
+ class Errno::EBADSLT < SystemCallError
117
+ end
118
+
119
+ Errno::EBADSLT::Errno: Integer
120
+
121
+ class Errno::EBFONT < SystemCallError
122
+ end
123
+
124
+ Errno::EBFONT::Errno: Integer
125
+
126
+ class Errno::EBUSY < SystemCallError
127
+ end
128
+
129
+ Errno::EBUSY::Errno: Integer
130
+
131
+ class Errno::ECANCELED < SystemCallError
132
+ end
133
+
134
+ Errno::ECANCELED::Errno: Integer
135
+
136
+ class Errno::ECAPMODE < SystemCallError
137
+ end
138
+
139
+ Errno::ECAPMODE::Errno: Integer
140
+
141
+ class Errno::ECHILD < SystemCallError
142
+ end
143
+
144
+ Errno::ECHILD::Errno: Integer
145
+
146
+ class Errno::ECHRNG < SystemCallError
147
+ end
148
+
149
+ Errno::ECHRNG::Errno: Integer
150
+
151
+ class Errno::ECOMM < SystemCallError
152
+ end
153
+
154
+ Errno::ECOMM::Errno: Integer
155
+
156
+ # Client sent TCP reset (RST) before server has accepted the connection
157
+ # requested by client.
158
+ #
159
+ class Errno::ECONNABORTED < SystemCallError
160
+ end
161
+
162
+ Errno::ECONNABORTED::Errno: Integer
163
+
164
+ class Errno::ECONNREFUSED < SystemCallError
165
+ end
166
+
167
+ Errno::ECONNREFUSED::Errno: Integer
168
+
169
+ # Remote host reset the connection request.
170
+ #
171
+ class Errno::ECONNRESET < SystemCallError
172
+ end
173
+
174
+ Errno::ECONNRESET::Errno: Integer
175
+
176
+ class Errno::EDEADLK < SystemCallError
177
+ end
178
+
179
+ Errno::EDEADLK::Errno: Integer
180
+
181
+ class Errno::EDEADLOCK < SystemCallError
182
+ end
183
+
184
+ Errno::EDEADLOCK::Errno: Integer
185
+
186
+ class Errno::EDESTADDRREQ < SystemCallError
187
+ end
188
+
189
+ Errno::EDESTADDRREQ::Errno: Integer
190
+
191
+ class Errno::EDOM < SystemCallError
192
+ end
193
+
194
+ Errno::EDOM::Errno: Integer
195
+
196
+ class Errno::EDOOFUS < SystemCallError
197
+ end
198
+
199
+ Errno::EDOOFUS::Errno: Integer
200
+
201
+ class Errno::EDOTDOT < SystemCallError
202
+ end
203
+
204
+ Errno::EDOTDOT::Errno: Integer
205
+
206
+ class Errno::EDQUOT < SystemCallError
207
+ end
208
+
209
+ Errno::EDQUOT::Errno: Integer
210
+
211
+ class Errno::EEXIST < SystemCallError
212
+ end
213
+
214
+ Errno::EEXIST::Errno: Integer
215
+
216
+ class Errno::EFAULT < SystemCallError
217
+ end
218
+
219
+ Errno::EFAULT::Errno: Integer
220
+
221
+ class Errno::EFBIG < SystemCallError
222
+ end
223
+
224
+ Errno::EFBIG::Errno: Integer
225
+
226
+ class Errno::EFTYPE < SystemCallError
227
+ end
228
+
229
+ Errno::EFTYPE::Errno: Integer
230
+
231
+ class Errno::EHOSTDOWN < SystemCallError
232
+ end
233
+
234
+ Errno::EHOSTDOWN::Errno: Integer
235
+
236
+ class Errno::EHOSTUNREACH < SystemCallError
237
+ end
238
+
239
+ Errno::EHOSTUNREACH::Errno: Integer
240
+
241
+ class Errno::EHWPOISON < SystemCallError
242
+ end
243
+
244
+ Errno::EHWPOISON::Errno: Integer
245
+
246
+ class Errno::EIDRM < SystemCallError
247
+ end
248
+
249
+ Errno::EIDRM::Errno: Integer
250
+
251
+ class Errno::EILSEQ < SystemCallError
252
+ end
253
+
254
+ Errno::EILSEQ::Errno: Integer
255
+
256
+ class Errno::EINPROGRESS < SystemCallError
257
+ end
258
+
259
+ Errno::EINPROGRESS::Errno: Integer
260
+
261
+ class Errno::EINTR < SystemCallError
262
+ end
263
+
264
+ Errno::EINTR::Errno: Integer
265
+
266
+ class Errno::EINVAL < SystemCallError
267
+ end
268
+
269
+ Errno::EINVAL::Errno: Integer
270
+
271
+ class Errno::EIO < SystemCallError
272
+ end
273
+
274
+ Errno::EIO::Errno: Integer
275
+
276
+ class Errno::EIPSEC < SystemCallError
277
+ end
278
+
279
+ Errno::EIPSEC::Errno: Integer
280
+
281
+ class Errno::EISCONN < SystemCallError
282
+ end
283
+
284
+ Errno::EISCONN::Errno: Integer
285
+
286
+ class Errno::EISDIR < SystemCallError
287
+ end
288
+
289
+ Errno::EISDIR::Errno: Integer
290
+
291
+ class Errno::EISNAM < SystemCallError
292
+ end
293
+
294
+ Errno::EISNAM::Errno: Integer
295
+
296
+ class Errno::EKEYEXPIRED < SystemCallError
297
+ end
298
+
299
+ Errno::EKEYEXPIRED::Errno: Integer
300
+
301
+ class Errno::EKEYREJECTED < SystemCallError
302
+ end
303
+
304
+ Errno::EKEYREJECTED::Errno: Integer
305
+
306
+ class Errno::EKEYREVOKED < SystemCallError
307
+ end
308
+
309
+ Errno::EKEYREVOKED::Errno: Integer
310
+
311
+ class Errno::EL2HLT < SystemCallError
312
+ end
313
+
314
+ Errno::EL2HLT::Errno: Integer
315
+
316
+ class Errno::EL2NSYNC < SystemCallError
317
+ end
318
+
319
+ Errno::EL2NSYNC::Errno: Integer
320
+
321
+ class Errno::EL3HLT < SystemCallError
322
+ end
323
+
324
+ Errno::EL3HLT::Errno: Integer
325
+
326
+ class Errno::EL3RST < SystemCallError
327
+ end
328
+
329
+ Errno::EL3RST::Errno: Integer
330
+
331
+ class Errno::ELIBACC < SystemCallError
332
+ end
333
+
334
+ Errno::ELIBACC::Errno: Integer
335
+
336
+ class Errno::ELIBBAD < SystemCallError
337
+ end
338
+
339
+ Errno::ELIBBAD::Errno: Integer
340
+
341
+ class Errno::ELIBEXEC < SystemCallError
342
+ end
343
+
344
+ Errno::ELIBEXEC::Errno: Integer
345
+
346
+ class Errno::ELIBMAX < SystemCallError
347
+ end
348
+
349
+ Errno::ELIBMAX::Errno: Integer
350
+
351
+ class Errno::ELIBSCN < SystemCallError
352
+ end
353
+
354
+ Errno::ELIBSCN::Errno: Integer
355
+
356
+ class Errno::ELNRNG < SystemCallError
357
+ end
358
+
359
+ Errno::ELNRNG::Errno: Integer
360
+
361
+ class Errno::ELOOP < SystemCallError
362
+ end
363
+
364
+ Errno::ELOOP::Errno: Integer
365
+
366
+ class Errno::EMEDIUMTYPE < SystemCallError
367
+ end
368
+
369
+ Errno::EMEDIUMTYPE::Errno: Integer
370
+
371
+ class Errno::EMFILE < SystemCallError
372
+ end
373
+
374
+ Errno::EMFILE::Errno: Integer
375
+
376
+ class Errno::EMLINK < SystemCallError
377
+ end
378
+
379
+ Errno::EMLINK::Errno: Integer
380
+
381
+ class Errno::EMSGSIZE < SystemCallError
382
+ end
383
+
384
+ Errno::EMSGSIZE::Errno: Integer
385
+
386
+ class Errno::EMULTIHOP < SystemCallError
387
+ end
388
+
389
+ Errno::EMULTIHOP::Errno: Integer
390
+
391
+ class Errno::ENAMETOOLONG < SystemCallError
392
+ end
393
+
394
+ Errno::ENAMETOOLONG::Errno: Integer
395
+
396
+ class Errno::ENAVAIL < SystemCallError
397
+ end
398
+
399
+ Errno::ENAVAIL::Errno: Integer
400
+
401
+ class Errno::ENEEDAUTH < SystemCallError
402
+ end
403
+
404
+ Errno::ENEEDAUTH::Errno: Integer
405
+
406
+ class Errno::ENETDOWN < SystemCallError
407
+ end
408
+
409
+ Errno::ENETDOWN::Errno: Integer
410
+
411
+ class Errno::ENETRESET < SystemCallError
412
+ end
413
+
414
+ Errno::ENETRESET::Errno: Integer
415
+
416
+ class Errno::ENETUNREACH < SystemCallError
417
+ end
418
+
419
+ Errno::ENETUNREACH::Errno: Integer
420
+
421
+ class Errno::ENFILE < SystemCallError
422
+ end
423
+
424
+ Errno::ENFILE::Errno: Integer
425
+
426
+ class Errno::ENOANO < SystemCallError
427
+ end
428
+
429
+ Errno::ENOANO::Errno: Integer
430
+
431
+ class Errno::ENOATTR < SystemCallError
432
+ end
433
+
434
+ Errno::ENOATTR::Errno: Integer
435
+
436
+ class Errno::ENOBUFS < SystemCallError
437
+ end
438
+
439
+ Errno::ENOBUFS::Errno: Integer
440
+
441
+ class Errno::ENOCSI < SystemCallError
442
+ end
443
+
444
+ Errno::ENOCSI::Errno: Integer
445
+
446
+ class Errno::ENODATA < SystemCallError
447
+ end
448
+
449
+ Errno::ENODATA::Errno: Integer
450
+
451
+ class Errno::ENODEV < SystemCallError
452
+ end
453
+
454
+ Errno::ENODEV::Errno: Integer
455
+
456
+ class Errno::ENOENT < SystemCallError
457
+ end
458
+
459
+ Errno::ENOENT::Errno: Integer
460
+
461
+ class Errno::ENOEXEC < SystemCallError
462
+ end
463
+
464
+ Errno::ENOEXEC::Errno: Integer
465
+
466
+ class Errno::ENOKEY < SystemCallError
467
+ end
468
+
469
+ Errno::ENOKEY::Errno: Integer
470
+
471
+ class Errno::ENOLCK < SystemCallError
472
+ end
473
+
474
+ Errno::ENOLCK::Errno: Integer
475
+
476
+ class Errno::ENOLINK < SystemCallError
477
+ end
478
+
479
+ Errno::ENOLINK::Errno: Integer
480
+
481
+ class Errno::ENOMEDIUM < SystemCallError
482
+ end
483
+
484
+ Errno::ENOMEDIUM::Errno: Integer
485
+
486
+ class Errno::ENOMEM < SystemCallError
487
+ end
488
+
489
+ Errno::ENOMEM::Errno: Integer
490
+
491
+ class Errno::ENOMSG < SystemCallError
492
+ end
493
+
494
+ Errno::ENOMSG::Errno: Integer
495
+
496
+ class Errno::ENONET < SystemCallError
497
+ end
498
+
499
+ Errno::ENONET::Errno: Integer
500
+
501
+ class Errno::ENOPKG < SystemCallError
502
+ end
503
+
504
+ Errno::ENOPKG::Errno: Integer
505
+
506
+ class Errno::ENOPROTOOPT < SystemCallError
507
+ end
508
+
509
+ Errno::ENOPROTOOPT::Errno: Integer
510
+
511
+ class Errno::ENOSPC < SystemCallError
512
+ end
513
+
514
+ Errno::ENOSPC::Errno: Integer
515
+
516
+ class Errno::ENOSR < SystemCallError
517
+ end
518
+
519
+ Errno::ENOSR::Errno: Integer
520
+
521
+ class Errno::ENOSTR < SystemCallError
522
+ end
523
+
524
+ Errno::ENOSTR::Errno: Integer
525
+
526
+ class Errno::ENOSYS < SystemCallError
527
+ end
528
+
529
+ Errno::ENOSYS::Errno: Integer
530
+
531
+ class Errno::ENOTBLK < SystemCallError
532
+ end
533
+
534
+ Errno::ENOTBLK::Errno: Integer
535
+
536
+ class Errno::ENOTCAPABLE < SystemCallError
537
+ end
538
+
539
+ Errno::ENOTCAPABLE::Errno: Integer
540
+
541
+ class Errno::ENOTCONN < SystemCallError
542
+ end
543
+
544
+ Errno::ENOTCONN::Errno: Integer
545
+
546
+ class Errno::ENOTDIR < SystemCallError
547
+ end
548
+
549
+ Errno::ENOTDIR::Errno: Integer
550
+
551
+ class Errno::ENOTEMPTY < SystemCallError
552
+ end
553
+
554
+ Errno::ENOTEMPTY::Errno: Integer
555
+
556
+ class Errno::ENOTNAM < SystemCallError
557
+ end
558
+
559
+ Errno::ENOTNAM::Errno: Integer
560
+
561
+ class Errno::ENOTRECOVERABLE < SystemCallError
562
+ end
563
+
564
+ Errno::ENOTRECOVERABLE::Errno: Integer
565
+
566
+ class Errno::ENOTSOCK < SystemCallError
567
+ end
568
+
569
+ Errno::ENOTSOCK::Errno: Integer
570
+
571
+ class Errno::ENOTSUP < SystemCallError
572
+ end
573
+
574
+ Errno::ENOTSUP::Errno: Integer
575
+
576
+ class Errno::ENOTTY < SystemCallError
577
+ end
578
+
579
+ Errno::ENOTTY::Errno: Integer
580
+
581
+ class Errno::ENOTUNIQ < SystemCallError
582
+ end
583
+
584
+ Errno::ENOTUNIQ::Errno: Integer
585
+
586
+ class Errno::ENXIO < SystemCallError
587
+ end
588
+
589
+ Errno::ENXIO::Errno: Integer
590
+
591
+ class Errno::EOPNOTSUPP < SystemCallError
592
+ end
593
+
594
+ Errno::EOPNOTSUPP::Errno: Integer
595
+
596
+ class Errno::EOVERFLOW < SystemCallError
597
+ end
598
+
599
+ Errno::EOVERFLOW::Errno: Integer
600
+
601
+ class Errno::EOWNERDEAD < SystemCallError
602
+ end
603
+
604
+ Errno::EOWNERDEAD::Errno: Integer
605
+
606
+ class Errno::EPERM < SystemCallError
607
+ end
608
+
609
+ Errno::EPERM::Errno: Integer
610
+
611
+ class Errno::EPFNOSUPPORT < SystemCallError
612
+ end
613
+
614
+ Errno::EPFNOSUPPORT::Errno: Integer
615
+
616
+ class Errno::EPIPE < SystemCallError
617
+ end
618
+
619
+ Errno::EPIPE::Errno: Integer
620
+
621
+ class Errno::EPROCLIM < SystemCallError
622
+ end
623
+
624
+ Errno::EPROCLIM::Errno: Integer
625
+
626
+ class Errno::EPROCUNAVAIL < SystemCallError
627
+ end
628
+
629
+ Errno::EPROCUNAVAIL::Errno: Integer
630
+
631
+ class Errno::EPROGMISMATCH < SystemCallError
632
+ end
633
+
634
+ Errno::EPROGMISMATCH::Errno: Integer
635
+
636
+ class Errno::EPROGUNAVAIL < SystemCallError
637
+ end
638
+
639
+ Errno::EPROGUNAVAIL::Errno: Integer
640
+
641
+ # Protocol error.
642
+ #
643
+ class Errno::EPROTO < SystemCallError
644
+ end
645
+
646
+ Errno::EPROTO::Errno: Integer
647
+
648
+ class Errno::EPROTONOSUPPORT < SystemCallError
649
+ end
650
+
651
+ Errno::EPROTONOSUPPORT::Errno: Integer
652
+
653
+ class Errno::EPROTOTYPE < SystemCallError
654
+ end
655
+
656
+ Errno::EPROTOTYPE::Errno: Integer
657
+
658
+ class Errno::ERANGE < SystemCallError
659
+ end
660
+
661
+ Errno::ERANGE::Errno: Integer
662
+
663
+ class Errno::EREMCHG < SystemCallError
664
+ end
665
+
666
+ Errno::EREMCHG::Errno: Integer
667
+
668
+ class Errno::EREMOTE < SystemCallError
669
+ end
670
+
671
+ Errno::EREMOTE::Errno: Integer
672
+
673
+ class Errno::EREMOTEIO < SystemCallError
674
+ end
675
+
676
+ Errno::EREMOTEIO::Errno: Integer
677
+
678
+ class Errno::ERESTART < SystemCallError
679
+ end
680
+
681
+ Errno::ERESTART::Errno: Integer
682
+
683
+ class Errno::ERFKILL < SystemCallError
684
+ end
685
+
686
+ Errno::ERFKILL::Errno: Integer
687
+
688
+ class Errno::EROFS < SystemCallError
689
+ end
690
+
691
+ Errno::EROFS::Errno: Integer
692
+
693
+ class Errno::ERPCMISMATCH < SystemCallError
694
+ end
695
+
696
+ Errno::ERPCMISMATCH::Errno: Integer
697
+
698
+ class Errno::ESHUTDOWN < SystemCallError
699
+ end
700
+
701
+ Errno::ESHUTDOWN::Errno: Integer
702
+
703
+ class Errno::ESOCKTNOSUPPORT < SystemCallError
704
+ end
705
+
706
+ Errno::ESOCKTNOSUPPORT::Errno: Integer
707
+
708
+ class Errno::ESPIPE < SystemCallError
709
+ end
710
+
711
+ Errno::ESPIPE::Errno: Integer
712
+
713
+ class Errno::ESRCH < SystemCallError
714
+ end
715
+
716
+ Errno::ESRCH::Errno: Integer
717
+
718
+ class Errno::ESRMNT < SystemCallError
719
+ end
720
+
721
+ Errno::ESRMNT::Errno: Integer
722
+
723
+ class Errno::ESTALE < SystemCallError
724
+ end
725
+
726
+ Errno::ESTALE::Errno: Integer
727
+
728
+ class Errno::ESTRPIPE < SystemCallError
729
+ end
730
+
731
+ Errno::ESTRPIPE::Errno: Integer
732
+
733
+ class Errno::ETIME < SystemCallError
734
+ end
735
+
736
+ Errno::ETIME::Errno: Integer
737
+
738
+ class Errno::ETIMEDOUT < SystemCallError
739
+ end
740
+
741
+ Errno::ETIMEDOUT::Errno: Integer
742
+
743
+ class Errno::ETOOMANYREFS < SystemCallError
744
+ end
745
+
746
+ Errno::ETOOMANYREFS::Errno: Integer
747
+
748
+ class Errno::ETXTBSY < SystemCallError
749
+ end
750
+
751
+ Errno::ETXTBSY::Errno: Integer
752
+
753
+ class Errno::EUCLEAN < SystemCallError
754
+ end
755
+
756
+ Errno::EUCLEAN::Errno: Integer
757
+
758
+ class Errno::EUNATCH < SystemCallError
759
+ end
760
+
761
+ Errno::EUNATCH::Errno: Integer
762
+
763
+ class Errno::EUSERS < SystemCallError
764
+ end
765
+
766
+ Errno::EUSERS::Errno: Integer
767
+
768
+ class Errno::EWOULDBLOCK < SystemCallError
769
+ end
770
+
771
+ Errno::EWOULDBLOCK::Errno: Integer
772
+
773
+ class Errno::EXDEV < SystemCallError
774
+ end
775
+
776
+ Errno::EXDEV::Errno: Integer
777
+
778
+ class Errno::EXFULL < SystemCallError
779
+ end
780
+
781
+ Errno::EXFULL::Errno: Integer