@ai-ecoverse/wasix-ruby 3.4.11-2 → 3.4.11-4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (722) hide show
  1. package/PRESTAGE.md +31 -15
  2. package/bin/bundle +1 -1
  3. package/bin/bundler +1 -1
  4. package/bin/erb +1 -1
  5. package/bin/gem +1 -1
  6. package/bin/irb +1 -1
  7. package/bin/rake +1 -1
  8. package/bin/ruby +1 -0
  9. package/bin/ruby.wasm +0 -0
  10. package/lib/ruby/3.4.0/socket.rb +1790 -0
  11. package/lib/ruby/3.4.0/wasm32-wasi/rbconfig.rb +5 -5
  12. package/lib/ruby/gems/3.4.0/cache/abbrev-0.1.2.gem +0 -0
  13. package/lib/ruby/gems/3.4.0/cache/base64-0.2.0.gem +0 -0
  14. package/lib/ruby/gems/3.4.0/cache/csv-3.3.2.gem +0 -0
  15. package/lib/ruby/gems/3.4.0/cache/drb-2.2.1.gem +0 -0
  16. package/lib/ruby/gems/3.4.0/cache/getoptlong-0.2.1.gem +0 -0
  17. package/lib/ruby/gems/3.4.0/cache/matrix-0.4.2.gem +0 -0
  18. package/lib/ruby/gems/3.4.0/cache/minitest-5.25.4.gem +0 -0
  19. package/lib/ruby/gems/3.4.0/cache/mutex_m-0.3.0.gem +0 -0
  20. package/lib/ruby/gems/3.4.0/cache/net-ftp-0.3.8.gem +0 -0
  21. package/lib/ruby/gems/3.4.0/cache/net-imap-0.5.15.gem +0 -0
  22. package/lib/ruby/gems/3.4.0/cache/net-pop-0.1.2.gem +0 -0
  23. package/lib/ruby/gems/3.4.0/cache/net-smtp-0.5.1.gem +0 -0
  24. package/lib/ruby/gems/3.4.0/cache/observer-0.1.2.gem +0 -0
  25. package/lib/ruby/gems/3.4.0/cache/power_assert-2.0.5.gem +0 -0
  26. package/lib/ruby/gems/3.4.0/cache/prime-0.1.3.gem +0 -0
  27. package/lib/ruby/gems/3.4.0/cache/rake-13.2.1.gem +0 -0
  28. package/lib/ruby/gems/3.4.0/cache/repl_type_completor-0.1.9.gem +0 -0
  29. package/lib/ruby/gems/3.4.0/cache/resolv-replace-0.1.1.gem +0 -0
  30. package/lib/ruby/gems/3.4.0/cache/rexml-3.4.4.gem +0 -0
  31. package/lib/ruby/gems/3.4.0/cache/rinda-0.2.0.gem +0 -0
  32. package/lib/ruby/gems/3.4.0/cache/rss-0.3.1.gem +0 -0
  33. package/lib/ruby/gems/3.4.0/cache/test-unit-3.6.7.gem +0 -0
  34. package/lib/ruby/gems/3.4.0/cache/typeprof-0.30.1.gem +0 -0
  35. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/console +0 -0
  36. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/setup +0 -0
  37. package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundle +29 -0
  38. package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundler +4 -0
  39. package/lib/ruby/gems/3.4.0/gems/erb-4.0.4.1/libexec/erb +164 -0
  40. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/console +0 -0
  41. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/setup +0 -0
  42. package/lib/ruby/gems/3.4.0/gems/irb-1.14.3/exe/irb +9 -0
  43. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/console +0 -0
  44. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/setup +0 -0
  45. package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/rdoc +43 -0
  46. package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/ri +12 -0
  47. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/console +0 -0
  48. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/setup +0 -0
  49. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/console +0 -0
  50. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/setup +0 -0
  51. package/lib/ruby/gems/3.4.0/gems/syntax_suggest-2.0.3/exe/syntax_suggest +7 -0
  52. package/lib/ruby/gems/3.4.0/specifications/abbrev-0.1.2.gemspec +5 -4
  53. package/lib/ruby/gems/3.4.0/specifications/base64-0.2.0.gemspec +4 -3
  54. package/lib/ruby/gems/3.4.0/specifications/csv-3.3.2.gemspec +5 -3
  55. package/lib/ruby/gems/3.4.0/specifications/default/benchmark-0.4.0.gemspec +22 -0
  56. package/lib/ruby/gems/3.4.0/specifications/default/bundler-2.6.9.gemspec +23 -0
  57. package/lib/ruby/gems/3.4.0/specifications/default/cgi-0.4.2.gemspec +23 -0
  58. package/lib/ruby/gems/3.4.0/specifications/default/date-3.4.1.gemspec +23 -0
  59. package/lib/ruby/gems/3.4.0/specifications/default/delegate-0.4.0.gemspec +21 -0
  60. package/lib/ruby/gems/3.4.0/specifications/default/did_you_mean-2.0.0.gemspec +20 -0
  61. package/lib/ruby/gems/3.4.0/specifications/default/digest-3.2.0.gemspec +22 -0
  62. package/lib/ruby/gems/3.4.0/specifications/default/english-0.8.0.gemspec +21 -0
  63. package/lib/ruby/gems/3.4.0/specifications/default/erb-4.0.4.1.gemspec +29 -0
  64. package/lib/ruby/gems/3.4.0/specifications/default/error_highlight-0.7.0.gemspec +20 -0
  65. package/lib/ruby/gems/3.4.0/specifications/default/etc-1.4.6.gemspec +25 -0
  66. package/lib/ruby/gems/3.4.0/specifications/default/fcntl-1.2.0.gemspec +24 -0
  67. package/lib/ruby/gems/3.4.0/specifications/default/fileutils-1.7.3.gemspec +21 -0
  68. package/lib/ruby/gems/3.4.0/specifications/default/find-0.2.0.gemspec +21 -0
  69. package/lib/ruby/gems/3.4.0/specifications/default/forwardable-1.3.3.gemspec +21 -0
  70. package/lib/ruby/gems/3.4.0/specifications/default/io-console-0.8.1.gemspec +23 -0
  71. package/lib/ruby/gems/3.4.0/specifications/default/io-nonblock-0.3.2.gemspec +23 -0
  72. package/lib/ruby/gems/3.4.0/specifications/default/io-wait-0.3.2.gemspec +24 -0
  73. package/lib/ruby/gems/3.4.0/specifications/default/ipaddr-1.2.7.gemspec +20 -0
  74. package/lib/ruby/gems/3.4.0/specifications/default/irb-1.14.3.gemspec +28 -0
  75. package/lib/ruby/gems/3.4.0/specifications/default/json-2.9.1.gemspec +23 -0
  76. package/lib/ruby/gems/3.4.0/specifications/default/logger-1.6.4.gemspec +20 -0
  77. package/lib/ruby/gems/3.4.0/specifications/default/net-http-0.6.0.gemspec +26 -0
  78. package/lib/ruby/gems/3.4.0/specifications/default/net-protocol-0.2.2.gemspec +25 -0
  79. package/lib/ruby/gems/3.4.0/specifications/default/open-uri-0.5.0.gemspec +27 -0
  80. package/lib/ruby/gems/3.4.0/specifications/default/open3-0.2.1.gemspec +22 -0
  81. package/lib/ruby/gems/3.4.0/specifications/default/openssl-3.3.3.gemspec +24 -0
  82. package/lib/ruby/gems/3.4.0/specifications/default/optparse-0.6.0.gemspec +23 -0
  83. package/lib/ruby/gems/3.4.0/specifications/default/ostruct-0.6.1.gemspec +20 -0
  84. package/lib/ruby/gems/3.4.0/specifications/default/pathname-0.4.0.gemspec +24 -0
  85. package/lib/ruby/gems/3.4.0/specifications/default/pp-0.6.2.gemspec +26 -0
  86. package/lib/ruby/gems/3.4.0/specifications/default/prettyprint-0.2.0.gemspec +22 -0
  87. package/lib/ruby/gems/3.4.0/specifications/default/prism-1.5.3.gemspec +22 -0
  88. package/lib/ruby/gems/3.4.0/specifications/default/pstore-0.2.1.gemspec +21 -0
  89. package/lib/ruby/gems/3.4.0/specifications/default/psych-5.2.2.gemspec +30 -0
  90. package/lib/ruby/gems/3.4.0/specifications/default/rdoc-6.14.0.gemspec +30 -0
  91. package/lib/ruby/gems/3.4.0/specifications/default/readline-0.0.4.gemspec +23 -0
  92. package/lib/ruby/gems/3.4.0/specifications/default/reline-0.6.0.gemspec +25 -0
  93. package/lib/ruby/gems/3.4.0/specifications/default/resolv-0.7.2.gemspec +24 -0
  94. package/lib/ruby/gems/3.4.0/specifications/default/ruby2_keywords-0.0.5.gemspec +20 -0
  95. package/lib/ruby/gems/3.4.0/specifications/default/securerandom-0.4.1.gemspec +22 -0
  96. package/lib/ruby/gems/3.4.0/specifications/default/set-1.1.1.gemspec +21 -0
  97. package/lib/ruby/gems/3.4.0/specifications/default/shellwords-0.2.2.gemspec +22 -0
  98. package/lib/ruby/gems/3.4.0/specifications/default/singleton-0.3.0.gemspec +21 -0
  99. package/lib/ruby/gems/3.4.0/specifications/default/stringio-3.1.2.gemspec +23 -0
  100. package/lib/ruby/gems/3.4.0/specifications/default/strscan-3.1.2.gemspec +24 -0
  101. package/lib/ruby/gems/3.4.0/specifications/default/syntax_suggest-2.0.3.gemspec +23 -0
  102. package/lib/ruby/gems/3.4.0/specifications/default/tempfile-0.3.1.gemspec +21 -0
  103. package/lib/ruby/gems/3.4.0/specifications/default/time-0.4.1.gemspec +26 -0
  104. package/lib/ruby/gems/3.4.0/specifications/default/timeout-0.4.3.gemspec +21 -0
  105. package/lib/ruby/gems/3.4.0/specifications/default/tmpdir-0.3.1.gemspec +26 -0
  106. package/lib/ruby/gems/3.4.0/specifications/default/tsort-0.2.0.gemspec +22 -0
  107. package/lib/ruby/gems/3.4.0/specifications/default/un-0.3.0.gemspec +22 -0
  108. package/lib/ruby/gems/3.4.0/specifications/default/uri-1.0.4.gemspec +22 -0
  109. package/lib/ruby/gems/3.4.0/specifications/default/weakref-0.1.3.gemspec +25 -0
  110. package/lib/ruby/gems/3.4.0/specifications/default/yaml-0.4.0.gemspec +21 -0
  111. package/lib/ruby/gems/3.4.0/specifications/default/zlib-3.2.3.gemspec +23 -0
  112. package/lib/ruby/gems/3.4.0/specifications/drb-2.2.1.gemspec +5 -4
  113. package/lib/ruby/gems/3.4.0/specifications/getoptlong-0.2.1.gemspec +5 -4
  114. package/lib/ruby/gems/3.4.0/specifications/matrix-0.4.2.gemspec +5 -4
  115. package/lib/ruby/gems/3.4.0/specifications/minitest-5.25.4.gemspec +7 -5
  116. package/lib/ruby/gems/3.4.0/specifications/mutex_m-0.3.0.gemspec +4 -3
  117. package/lib/ruby/gems/3.4.0/specifications/net-ftp-0.3.8.gemspec +10 -4
  118. package/lib/ruby/gems/3.4.0/specifications/net-imap-0.5.15.gemspec +7 -5
  119. package/lib/ruby/gems/3.4.0/specifications/net-pop-0.1.2.gemspec +9 -4
  120. package/lib/ruby/gems/3.4.0/specifications/net-smtp-0.5.1.gemspec +9 -4
  121. package/lib/ruby/gems/3.4.0/specifications/observer-0.1.2.gemspec +5 -4
  122. package/lib/ruby/gems/3.4.0/specifications/power_assert-2.0.5.gemspec +6 -4
  123. package/lib/ruby/gems/3.4.0/specifications/prime-0.1.3.gemspec +10 -4
  124. package/lib/ruby/gems/3.4.0/specifications/rake-13.2.1.gemspec +6 -4
  125. package/lib/ruby/gems/3.4.0/specifications/repl_type_completor-0.1.9.gemspec +6 -5
  126. package/lib/ruby/gems/3.4.0/specifications/resolv-replace-0.1.1.gemspec +6 -5
  127. package/lib/ruby/gems/3.4.0/specifications/rexml-3.4.4.gemspec +5 -3
  128. package/lib/ruby/gems/3.4.0/specifications/rinda-0.2.0.gemspec +8 -5
  129. package/lib/ruby/gems/3.4.0/specifications/rss-0.3.1.gemspec +5 -4
  130. package/lib/ruby/gems/3.4.0/specifications/test-unit-3.6.7.gemspec +5 -4
  131. package/lib/ruby/gems/3.4.0/specifications/typeprof-0.30.1.gemspec +7 -5
  132. package/package.json +19 -13
  133. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/abbrev.gemspec +0 -29
  134. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/.bundled.bigdecimal-3.1.8.gemspec +0 -23
  135. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/LICENSE +0 -56
  136. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal-3.1.8.gemspec +0 -23
  137. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal.gemspec +0 -50
  138. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/jacobian.rb +0 -90
  139. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/ludcmp.rb +0 -89
  140. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/math.rb +0 -232
  141. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/newton.rb +0 -80
  142. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/util.rb +0 -185
  143. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal.rb +0 -5
  144. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/linear.rb +0 -74
  145. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/nlsolve.rb +0 -40
  146. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/pi.rb +0 -21
  147. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/.bundled.debug-1.11.0.gemspec +0 -25
  148. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/CONTRIBUTING.md +0 -573
  149. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Gemfile +0 -10
  150. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/LICENSE.txt +0 -22
  151. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/README.md +0 -996
  152. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Rakefile +0 -57
  153. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/TODO.md +0 -23
  154. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug-1.11.0.gemspec +0 -30
  155. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug.gemspec +0 -33
  156. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/exe/rdbg +0 -53
  157. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/abbrev_command.rb +0 -77
  158. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/breakpoint.rb +0 -556
  159. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/client.rb +0 -263
  160. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/color.rb +0 -123
  161. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/config.rb +0 -592
  162. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/console.rb +0 -224
  163. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/dap_custom/traceInspector.rb +0 -336
  164. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/frame_info.rb +0 -190
  165. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/irb_integration.rb +0 -37
  166. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/local.rb +0 -115
  167. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open.rb +0 -13
  168. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open_nonstop.rb +0 -15
  169. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/prelude.rb +0 -50
  170. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server.rb +0 -534
  171. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_cdp.rb +0 -1348
  172. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_dap.rb +0 -1108
  173. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/session.rb +0 -2667
  174. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/source_repository.rb +0 -150
  175. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/start.rb +0 -5
  176. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/thread_client.rb +0 -1457
  177. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/tracer.rb +0 -241
  178. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/version.rb +0 -5
  179. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug.rb +0 -9
  180. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/misc/README.md.erb +0 -660
  181. package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/drb.gemspec +0 -41
  182. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/getoptlong.gemspec +0 -30
  183. package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/matrix.gemspec +0 -26
  184. package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/.autotest +0 -34
  185. package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/net-ftp.gemspec +0 -34
  186. package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/net-imap.gemspec +0 -38
  187. package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/net-pop.gemspec +0 -32
  188. package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/net-smtp.gemspec +0 -31
  189. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/.bundled.nkf-0.2.0.gemspec +0 -24
  190. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Gemfile +0 -5
  191. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/LICENSE.txt +0 -22
  192. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/README.md +0 -38
  193. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Rakefile +0 -24
  194. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/console +0 -14
  195. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/setup +0 -8
  196. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/kconv.rb +0 -283
  197. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/nkf.rb +0 -6
  198. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf-0.2.0.gemspec +0 -24
  199. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf.gemspec +0 -43
  200. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/observer.gemspec +0 -32
  201. package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/power_assert.gemspec +0 -24
  202. package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/prime.gemspec +0 -28
  203. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/.bundled.racc-1.8.1.gemspec +0 -26
  204. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/BSDL +0 -22
  205. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/COPYING +0 -56
  206. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/ChangeLog +0 -846
  207. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.ja.rdoc +0 -58
  208. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.rdoc +0 -60
  209. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/TODO +0 -5
  210. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/bin/racc +0 -320
  211. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar.en.rdoc +0 -218
  212. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar2.en.rdoc +0 -219
  213. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/command.ja.html +0 -99
  214. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/debug.ja.rdoc +0 -36
  215. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/grammar.ja.rdoc +0 -348
  216. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/index.ja.html +0 -10
  217. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/parser.ja.rdoc +0 -125
  218. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/usage.ja.html +0 -414
  219. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/compat.rb +0 -33
  220. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/debugflags.rb +0 -60
  221. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/exception.rb +0 -16
  222. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammar.rb +0 -1191
  223. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammarfileparser.rb +0 -667
  224. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/info.rb +0 -18
  225. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/iset.rb +0 -92
  226. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/logfilegenerator.rb +0 -212
  227. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser-text.rb +0 -644
  228. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser.rb +0 -630
  229. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parserfilegenerator.rb +0 -473
  230. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/sourcetext.rb +0 -35
  231. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/state.rb +0 -976
  232. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/statetransitiontable.rb +0 -311
  233. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/static.rb +0 -5
  234. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc.rb +0 -6
  235. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/racc-1.8.1.gemspec +0 -26
  236. package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/rake.gemspec +0 -101
  237. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.bundled.rbs-3.8.0.gemspec +0 -25
  238. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.rubocop.yml +0 -53
  239. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/BSDL +0 -22
  240. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/CHANGELOG.md +0 -1854
  241. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/COPYING +0 -56
  242. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/README.md +0 -203
  243. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Rakefile +0 -415
  244. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Steepfile +0 -44
  245. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/config.yml +0 -311
  246. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/array.rbs +0 -4062
  247. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/basic_object.rbs +0 -375
  248. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/binding.rbs +0 -150
  249. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/builtin.rbs +0 -277
  250. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/class.rbs +0 -220
  251. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/comparable.rbs +0 -171
  252. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/complex.rbs +0 -786
  253. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/constants.rbs +0 -96
  254. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/data.rbs +0 -415
  255. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/dir.rbs +0 -981
  256. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/encoding.rbs +0 -1371
  257. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerable.rbs +0 -2405
  258. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator/product.rbs +0 -92
  259. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator.rbs +0 -630
  260. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/env.rbs +0 -6
  261. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errno.rbs +0 -673
  262. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errors.rbs +0 -760
  263. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/exception.rbs +0 -376
  264. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/false_class.rbs +0 -82
  265. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber.rbs +0 -550
  266. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber_error.rbs +0 -11
  267. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file.rbs +0 -2936
  268. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file_test.rbs +0 -331
  269. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/float.rbs +0 -1151
  270. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/gc.rbs +0 -644
  271. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/global_variables.rbs +0 -184
  272. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/hash.rbs +0 -1861
  273. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/integer.rbs +0 -1413
  274. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/buffer.rbs +0 -984
  275. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/wait.rbs +0 -70
  276. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io.rbs +0 -3402
  277. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/kernel.rbs +0 -3054
  278. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/marshal.rbs +0 -207
  279. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/match_data.rbs +0 -635
  280. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/math.rbs +0 -729
  281. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/method.rbs +0 -386
  282. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/module.rbs +0 -1704
  283. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/nil_class.rbs +0 -209
  284. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/numeric.rbs +0 -818
  285. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object.rbs +0 -110
  286. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space/weak_key_map.rbs +0 -166
  287. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space.rbs +0 -190
  288. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/proc.rbs +0 -868
  289. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/process.rbs +0 -2296
  290. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ractor.rbs +0 -1065
  291. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/random.rbs +0 -237
  292. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/range.rbs +0 -1107
  293. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rational.rbs +0 -531
  294. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rb_config.rbs +0 -88
  295. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/argf.rbs +0 -1229
  296. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/env_class.rbs +0 -1209
  297. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/random.rbs +0 -293
  298. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/refinement.rbs +0 -59
  299. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/regexp.rbs +0 -1928
  300. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ruby_vm.rbs +0 -765
  301. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/basic_specification.rbs +0 -6
  302. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/config_file.rbs +0 -38
  303. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/dependency_installer.rbs +0 -6
  304. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/errors.rbs +0 -176
  305. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/installer.rbs +0 -15
  306. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/path_support.rbs +0 -6
  307. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/platform.rbs +0 -7
  308. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/request_set.rbs +0 -49
  309. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/requirement.rbs +0 -148
  310. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/rubygems.rbs +0 -1171
  311. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/source_list.rbs +0 -15
  312. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/specification.rbs +0 -23
  313. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/stream_ui.rbs +0 -5
  314. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/uninstaller.rbs +0 -10
  315. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/version.rbs +0 -294
  316. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/set.rbs +0 -621
  317. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/signal.rbs +0 -100
  318. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/string.rbs +0 -3583
  319. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/struct.rbs +0 -667
  320. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/symbol.rbs +0 -475
  321. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread.rbs +0 -1765
  322. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread_group.rbs +0 -79
  323. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/time.rbs +0 -1762
  324. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/trace_point.rbs +0 -477
  325. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/true_class.rbs +0 -98
  326. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/unbound_method.rbs +0 -329
  327. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/warning.rbs +0 -87
  328. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/CONTRIBUTING.md +0 -106
  329. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/architecture.md +0 -110
  330. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/collection.md +0 -192
  331. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/data_and_struct.md +0 -86
  332. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/gem.md +0 -57
  333. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/rbs_by_example.md +0 -309
  334. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/repo.md +0 -125
  335. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/sigs.md +0 -167
  336. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/stdlib.md +0 -147
  337. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/syntax.md +0 -905
  338. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/tools.md +0 -17
  339. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/exe/rbs +0 -7
  340. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/goodcheck.yml +0 -91
  341. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/constants.h +0 -82
  342. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/ruby_objs.h +0 -72
  343. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs.h +0 -7
  344. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ancestor_graph.rb +0 -92
  345. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/annotations.rb +0 -199
  346. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/formatter.rb +0 -92
  347. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_annotator.rb +0 -400
  348. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_source.rb +0 -131
  349. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate.rb +0 -8
  350. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/annotation.rb +0 -29
  351. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/comment.rb +0 -29
  352. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/declarations.rb +0 -467
  353. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/directives.rb +0 -39
  354. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/members.rb +0 -449
  355. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/type_param.rb +0 -225
  356. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/visitor.rb +0 -137
  357. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/buffer.rb +0 -67
  358. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/builtin_names.rb +0 -58
  359. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/colored_io.rb +0 -48
  360. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/diff.rb +0 -83
  361. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/validate.rb +0 -356
  362. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli.rb +0 -1223
  363. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/cleaner.rb +0 -38
  364. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile.rb +0 -92
  365. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile_generator.rb +0 -223
  366. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config.rb +0 -81
  367. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/installer.rb +0 -32
  368. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/base.rb +0 -14
  369. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/git.rb +0 -258
  370. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/local.rb +0 -81
  371. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/rubygems.rb +0 -48
  372. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/stdlib.rb +0 -50
  373. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources.rb +0 -38
  374. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection.rb +0 -16
  375. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/constant.rb +0 -28
  376. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition.rb +0 -395
  377. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/ancestor_builder.rb +0 -620
  378. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/method_builder.rb +0 -254
  379. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder.rb +0 -841
  380. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/diff.rb +0 -125
  381. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment/use_map.rb +0 -77
  382. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment.rb +0 -818
  383. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_loader.rb +0 -173
  384. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_walker.rb +0 -155
  385. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/errors.rb +0 -600
  386. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/factory.rb +0 -18
  387. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/file_finder.rb +0 -28
  388. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/location_aux.rb +0 -138
  389. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/locator.rb +0 -241
  390. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/method_type.rb +0 -141
  391. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/namespace.rb +0 -125
  392. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/lex_result.rb +0 -15
  393. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/token.rb +0 -23
  394. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser_aux.rb +0 -77
  395. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/helpers.rb +0 -140
  396. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/node_usage.rb +0 -99
  397. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rb.rb +0 -840
  398. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rbi.rb +0 -641
  399. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/helpers.rb +0 -59
  400. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/reflection.rb +0 -19
  401. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/value_object_generator.rb +0 -279
  402. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime.rb +0 -667
  403. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/repository.rb +0 -127
  404. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/constant_resolver.rb +0 -219
  405. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/type_name_resolver.rb +0 -91
  406. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/sorter.rb +0 -198
  407. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/substitution.rb +0 -83
  408. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/subtractor.rb +0 -201
  409. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/errors.rb +0 -80
  410. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/guaranteed.rb +0 -30
  411. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/hook.rb +0 -212
  412. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/observer.rb +0 -19
  413. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup.rb +0 -84
  414. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup_helper.rb +0 -50
  415. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/tester.rb +0 -167
  416. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/type_check.rb +0 -433
  417. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test.rb +0 -112
  418. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_dependency.rb +0 -100
  419. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_regularity.rb +0 -126
  420. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_name.rb +0 -109
  421. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/types.rb +0 -1557
  422. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/convertibles.rb +0 -176
  423. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/spy.rb +0 -136
  424. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/type_assertions.rb +0 -341
  425. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/with_aliases.rb +0 -143
  426. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test.rb +0 -6
  427. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/validator.rb +0 -182
  428. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/variance_calculator.rb +0 -189
  429. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/vendorer.rb +0 -71
  430. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/version.rb +0 -5
  431. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/writer.rb +0 -419
  432. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs.rb +0 -93
  433. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc/discover.rb +0 -20
  434. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc_plugin/parser.rb +0 -163
  435. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs-3.8.0.gemspec +0 -29
  436. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs.gemspec +0 -49
  437. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/annotation.json +0 -14
  438. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/comment.json +0 -26
  439. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/decls.json +0 -326
  440. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/function.json +0 -87
  441. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/location.json +0 -56
  442. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/members.json +0 -266
  443. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/methodType.json +0 -50
  444. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/typeParam.json +0 -36
  445. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/types.json +0 -317
  446. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_builder.rbs +0 -163
  447. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_graph.rbs +0 -60
  448. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/annotations.rbs +0 -102
  449. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/formatter.rbs +0 -24
  450. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_annotater.rbs +0 -82
  451. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_source.rbs +0 -30
  452. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotation.rbs +0 -27
  453. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/buffer.rbs +0 -32
  454. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/builtin_names.rbs +0 -44
  455. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/colored_io.rbs +0 -15
  456. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/diff.rbs +0 -21
  457. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/validate.rbs +0 -43
  458. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli.rbs +0 -87
  459. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/cleaner.rbs +0 -13
  460. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile.rbs +0 -74
  461. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile_generator.rbs +0 -66
  462. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config.rbs +0 -46
  463. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/installer.rbs +0 -17
  464. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/sources.rbs +0 -214
  465. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection.rbs +0 -4
  466. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/comment.rbs +0 -26
  467. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/constant.rbs +0 -21
  468. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/declarations.rbs +0 -267
  469. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition.rbs +0 -173
  470. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition_builder.rbs +0 -165
  471. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/diff.rbs +0 -28
  472. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/directives.rbs +0 -61
  473. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment.rbs +0 -277
  474. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_loader.rbs +0 -111
  475. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_walker.rbs +0 -65
  476. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/errors.rbs +0 -383
  477. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/factory.rbs +0 -5
  478. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/file_finder.rbs +0 -28
  479. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/location.rbs +0 -110
  480. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/locator.rbs +0 -58
  481. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/manifest.yaml +0 -7
  482. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/members.rbs +0 -258
  483. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_builder.rbs +0 -84
  484. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_types.rbs +0 -58
  485. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/namespace.rbs +0 -146
  486. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/parser.rbs +0 -96
  487. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/helpers.rbs +0 -27
  488. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/node_usage.rbs +0 -20
  489. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rb.rbs +0 -96
  490. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rbi.rbs +0 -75
  491. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/runtime.rbs +0 -182
  492. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rbs.rbs +0 -21
  493. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rdoc/rbs.rbs +0 -67
  494. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/repository.rbs +0 -85
  495. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/constant_resolver.rbs +0 -92
  496. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/context.rbs +0 -34
  497. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/type_name_resolver.rbs +0 -35
  498. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/bundler.rbs +0 -38
  499. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/enumerable.rbs +0 -5
  500. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/rubygems.rbs +0 -19
  501. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/sorter.rbs +0 -41
  502. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/substitution.rbs +0 -48
  503. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/subtractor.rbs +0 -37
  504. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/errors.rbs +0 -52
  505. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/guranteed.rbs +0 -9
  506. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/type_check.rbs +0 -19
  507. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test.rbs +0 -82
  508. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_dependency.rbs +0 -53
  509. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_regularity.rbs +0 -98
  510. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_param.rbs +0 -110
  511. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/typename.rbs +0 -79
  512. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/types.rbs +0 -576
  513. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/convertibles.rbs +0 -154
  514. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/spy.rbs +0 -28
  515. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/type_assertions.rbs +0 -194
  516. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/with_aliases.rbs +0 -136
  517. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/use_map.rbs +0 -35
  518. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/util.rbs +0 -9
  519. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/validator.rbs +0 -59
  520. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/variance_calculator.rbs +0 -87
  521. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/vendorer.rbs +0 -51
  522. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/version.rbs +0 -3
  523. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/visitor.rbs +0 -47
  524. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/writer.rbs +0 -127
  525. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/constants.c +0 -153
  526. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/ruby_objs.c +0 -793
  527. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/abbrev.rbs +0 -66
  528. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/array.rbs +0 -26
  529. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/base64/0/base64.rbs +0 -355
  530. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/benchmark/0/benchmark.rbs +0 -452
  531. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal/0/big_decimal.rbs +0 -1629
  532. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/big_math.rbs +0 -119
  533. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/manifest.yaml +0 -2
  534. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/core.rbs +0 -1285
  535. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/manifest.yaml +0 -3
  536. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/coverage/0/coverage.rbs +0 -263
  537. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/csv.rbs +0 -3776
  538. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/manifest.yaml +0 -3
  539. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date.rbs +0 -1585
  540. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date_time.rbs +0 -616
  541. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/time.rbs +0 -26
  542. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/dbm/0/dbm.rbs +0 -421
  543. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/delegator.rbs +0 -184
  544. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/kernel.rbs +0 -47
  545. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/simple_delegator.rbs +0 -96
  546. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/did_you_mean/0/did_you_mean.rbs +0 -343
  547. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/digest/0/digest.rbs +0 -577
  548. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/erb/0/erb.rbs +0 -532
  549. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/etc/0/etc.rbs +0 -865
  550. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/fileutils/0/fileutils.rbs +0 -1734
  551. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/find/0/find.rbs +0 -49
  552. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/forwardable/0/forwardable.rbs +0 -268
  553. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/io-console/0/io-console.rbs +0 -414
  554. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ipaddr/0/ipaddr.rbs +0 -428
  555. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/json/0/json.rbs +0 -1914
  556. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/kconv/0/kconv.rbs +0 -166
  557. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/formatter.rbs +0 -45
  558. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/log_device.rbs +0 -100
  559. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/logger.rbs +0 -796
  560. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/manifest.yaml +0 -2
  561. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/period.rbs +0 -17
  562. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/severity.rbs +0 -34
  563. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/kernel.rbs +0 -42
  564. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/abstract_reporter.rbs +0 -52
  565. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertion.rbs +0 -17
  566. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertions.rbs +0 -590
  567. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/backtrace_filter.rbs +0 -23
  568. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/bench_spec.rbs +0 -102
  569. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/benchmark.rbs +0 -259
  570. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/composite_reporter.rbs +0 -25
  571. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/compress.rbs +0 -13
  572. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/error_on_warning.rbs +0 -3
  573. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectation.rbs +0 -2
  574. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectations.rbs +0 -21
  575. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/guard.rbs +0 -64
  576. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/mock.rbs +0 -64
  577. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/executor.rbs +0 -46
  578. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test/class_methods.rbs +0 -5
  579. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test.rbs +0 -3
  580. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel.rbs +0 -2
  581. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_io.rbs +0 -62
  582. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_lol.rbs +0 -19
  583. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/progress_reporter.rbs +0 -11
  584. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reportable.rbs +0 -53
  585. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reporter.rbs +0 -5
  586. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/result.rbs +0 -28
  587. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/runnable.rbs +0 -163
  588. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/skip.rbs +0 -6
  589. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl/instance_methods.rbs +0 -48
  590. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl.rbs +0 -129
  591. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec.rbs +0 -11
  592. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/statistics_reporter.rbs +0 -81
  593. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/summary_reporter.rbs +0 -18
  594. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test/lifecycle_hooks.rbs +0 -92
  595. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test.rbs +0 -69
  596. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_error.rbs +0 -12
  597. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_warning.rbs +0 -6
  598. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit/test_case.rbs +0 -3
  599. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit.rbs +0 -4
  600. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest.rbs +0 -115
  601. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/monitor/0/monitor.rbs +0 -354
  602. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/mutex_m/0/mutex_m.rbs +0 -104
  603. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/manifest.yaml +0 -3
  604. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/net-http.rbs +0 -5552
  605. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/manifest.yaml +0 -2
  606. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/net-protocol.rbs +0 -56
  607. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/manifest.yaml +0 -2
  608. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/net-smtp.rbs +0 -55
  609. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/nkf/0/nkf.rbs +0 -402
  610. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/objspace/0/objspace.rbs +0 -487
  611. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/observable/0/observable.rbs +0 -217
  612. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/manifest.yaml +0 -4
  613. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/open-uri.rbs +0 -393
  614. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open3/0/open3.rbs +0 -147
  615. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/manifest.yaml +0 -3
  616. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/openssl.rbs +0 -12113
  617. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/optparse/0/optparse.rbs +0 -1725
  618. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pathname/0/pathname.rbs +0 -1406
  619. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/manifest.yaml +0 -2
  620. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/pp.rbs +0 -300
  621. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/prettyprint/0/prettyprint.rbs +0 -383
  622. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pstore/0/pstore.rbs +0 -603
  623. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/core_ext.rbs +0 -12
  624. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/dbm.rbs +0 -237
  625. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/manifest.yaml +0 -3
  626. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/psych.rbs +0 -402
  627. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/store.rbs +0 -59
  628. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pty/0/pty.rbs +0 -237
  629. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/code_object.rbs +0 -51
  630. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/comment.rbs +0 -59
  631. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/context.rbs +0 -153
  632. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/markup.rbs +0 -117
  633. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/parser.rbs +0 -56
  634. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/rdoc.rbs +0 -391
  635. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/ri.rbs +0 -17
  636. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/store.rbs +0 -48
  637. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/top_level.rbs +0 -97
  638. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/manifest.yaml +0 -3
  639. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/resolv.rbs +0 -1830
  640. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ripper/0/ripper.rbs +0 -1648
  641. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/securerandom/0/securerandom.rbs +0 -62
  642. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/shellwords/0/shellwords.rbs +0 -229
  643. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/singleton/0/singleton.rbs +0 -131
  644. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/addrinfo.rbs +0 -666
  645. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/basic_socket.rbs +0 -590
  646. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/constants.rbs +0 -2295
  647. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/ip_socket.rbs +0 -92
  648. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket.rbs +0 -4157
  649. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket_error.rbs +0 -5
  650. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_server.rbs +0 -192
  651. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_socket.rbs +0 -79
  652. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/udp_socket.rbs +0 -133
  653. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_server.rbs +0 -169
  654. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_socket.rbs +0 -170
  655. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/stringio/0/stringio.rbs +0 -567
  656. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/strscan/0/string_scanner.rbs +0 -1627
  657. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tempfile/0/tempfile.rbs +0 -479
  658. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/time/0/time.rbs +0 -432
  659. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/timeout/0/timeout.rbs +0 -81
  660. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tmpdir/0/tmpdir.rbs +0 -69
  661. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/cyclic.rbs +0 -5
  662. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/interfaces.rbs +0 -20
  663. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/tsort.rbs +0 -409
  664. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/common.rbs +0 -582
  665. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/file.rbs +0 -118
  666. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ftp.rbs +0 -13
  667. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/generic.rbs +0 -1108
  668. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/http.rbs +0 -104
  669. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/https.rbs +0 -14
  670. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldap.rbs +0 -230
  671. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldaps.rbs +0 -14
  672. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/mailto.rbs +0 -92
  673. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc2396_parser.rbs +0 -189
  674. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc3986_parser.rbs +0 -2
  675. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ws.rbs +0 -13
  676. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/wss.rbs +0 -9
  677. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/manifest.yaml +0 -2
  678. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/yaml.rbs +0 -1
  679. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/buf_error.rbs +0 -10
  680. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/data_error.rbs +0 -10
  681. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/deflate.rbs +0 -210
  682. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/error.rbs +0 -20
  683. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/crc_error.rbs +0 -12
  684. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/error.rbs +0 -23
  685. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/length_error.rbs +0 -12
  686. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/no_footer.rbs +0 -11
  687. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file.rbs +0 -156
  688. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_reader.rbs +0 -293
  689. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_writer.rbs +0 -166
  690. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/inflate.rbs +0 -180
  691. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/mem_error.rbs +0 -10
  692. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/need_dict.rbs +0 -13
  693. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_end.rbs +0 -11
  694. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_error.rbs +0 -11
  695. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/version_error.rbs +0 -11
  696. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zlib.rbs +0 -449
  697. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zstream.rbs +0 -200
  698. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/constants.h.erb +0 -20
  699. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/ruby_objs.h.erb +0 -10
  700. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/constants.c.erb +0 -36
  701. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/ruby_objs.c.erb +0 -27
  702. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/template.rb +0 -122
  703. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/resolv-replace.gemspec +0 -22
  704. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/rinda.gemspec +0 -35
  705. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/.bundled.syslog-0.2.0.gemspec +0 -23
  706. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Gemfile +0 -5
  707. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/LICENSE.txt +0 -22
  708. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/README.md +0 -41
  709. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Rakefile +0 -20
  710. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/console +0 -14
  711. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/setup +0 -8
  712. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog/logger.rb +0 -209
  713. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog.rb +0 -10
  714. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog-0.2.0.gemspec +0 -23
  715. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog.gemspec +0 -26
  716. package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/typeprof.gemspec +0 -32
  717. package/lib/ruby/gems/3.4.0/specifications/bigdecimal-3.1.8.gemspec +0 -50
  718. package/lib/ruby/gems/3.4.0/specifications/debug-1.11.0.gemspec +0 -33
  719. package/lib/ruby/gems/3.4.0/specifications/nkf-0.2.0.gemspec +0 -43
  720. package/lib/ruby/gems/3.4.0/specifications/racc-1.8.1.gemspec +0 -26
  721. package/lib/ruby/gems/3.4.0/specifications/rbs-3.8.0.gemspec +0 -49
  722. package/lib/ruby/gems/3.4.0/specifications/syslog-0.2.0.gemspec +0 -26
@@ -1,1371 +0,0 @@
1
- # <!-- rdoc-file=encoding.c -->
2
- # An Encoding instance represents a character encoding usable in Ruby. It is
3
- # defined as a constant under the Encoding namespace. It has a name and,
4
- # optionally, aliases:
5
- #
6
- # Encoding::US_ASCII.name # => "US-ASCII"
7
- # Encoding::US_ASCII.names # => ["US-ASCII", "ASCII", "ANSI_X3.4-1968", "646"]
8
- #
9
- # A Ruby method that accepts an encoding as an argument will accept:
10
- #
11
- # * An Encoding object.
12
- # * The name of an encoding.
13
- # * An alias for an encoding name.
14
- #
15
- # These are equivalent:
16
- #
17
- # 'foo'.encode(Encoding::US_ASCII) # Encoding object.
18
- # 'foo'.encode('US-ASCII') # Encoding name.
19
- # 'foo'.encode('ASCII') # Encoding alias.
20
- #
21
- # For a full discussion of encodings and their uses, see [the Encodings
22
- # document](rdoc-ref:encodings.rdoc).
23
- #
24
- # Encoding::ASCII_8BIT is a special-purpose encoding that is usually used for a
25
- # string of bytes, not a string of characters. But as the name indicates, its
26
- # characters in the ASCII range are considered as ASCII characters. This is
27
- # useful when you use other ASCII-compatible encodings.
28
- #
29
- class Encoding
30
- def self._load: [T] (T) -> T
31
-
32
- # <!--
33
- # rdoc-file=encoding.c
34
- # - Encoding.locale_charmap -> string
35
- # -->
36
- # Returns the locale charmap name. It returns nil if no appropriate information.
37
- #
38
- # Debian GNU/Linux
39
- # LANG=C
40
- # Encoding.locale_charmap #=> "ANSI_X3.4-1968"
41
- # LANG=ja_JP.EUC-JP
42
- # Encoding.locale_charmap #=> "EUC-JP"
43
- #
44
- # SunOS 5
45
- # LANG=C
46
- # Encoding.locale_charmap #=> "646"
47
- # LANG=ja
48
- # Encoding.locale_charmap #=> "eucJP"
49
- #
50
- # The result is highly platform dependent. So
51
- # Encoding.find(Encoding.locale_charmap) may cause an error. If you need some
52
- # encoding object even for unknown locale, Encoding.find("locale") can be used.
53
- #
54
- def self.locale_charmap: () -> String
55
-
56
- # <!--
57
- # rdoc-file=encoding.c
58
- # - Encoding.aliases -> {"alias1" => "orig1", "alias2" => "orig2", ...}
59
- # -->
60
- # Returns the hash of available encoding alias and original encoding name.
61
- #
62
- # Encoding.aliases
63
- # #=> {"BINARY"=>"ASCII-8BIT", "ASCII"=>"US-ASCII", "ANSI_X3.4-1968"=>"US-ASCII",
64
- # "SJIS"=>"Windows-31J", "eucJP"=>"EUC-JP", "CP932"=>"Windows-31J"}
65
- #
66
- def self.aliases: () -> Hash[String, String]
67
-
68
- # <!--
69
- # rdoc-file=encoding.c
70
- # - Encoding.compatible?(obj1, obj2) -> enc or nil
71
- # -->
72
- # Checks the compatibility of two objects.
73
- #
74
- # If the objects are both strings they are compatible when they are
75
- # concatenatable. The encoding of the concatenated string will be returned if
76
- # they are compatible, nil if they are not.
77
- #
78
- # Encoding.compatible?("\xa1".force_encoding("iso-8859-1"), "b")
79
- # #=> #<Encoding:ISO-8859-1>
80
- #
81
- # Encoding.compatible?(
82
- # "\xa1".force_encoding("iso-8859-1"),
83
- # "\xa1\xa1".force_encoding("euc-jp"))
84
- # #=> nil
85
- #
86
- # If the objects are non-strings their encodings are compatible when they have
87
- # an encoding and:
88
- # * Either encoding is US-ASCII compatible
89
- # * One of the encodings is a 7-bit encoding
90
- #
91
- def self.compatible?: (untyped obj1, untyped obj2) -> Encoding?
92
-
93
- # <!--
94
- # rdoc-file=encoding.c
95
- # - Encoding.default_external -> enc
96
- # -->
97
- # Returns default external encoding.
98
- #
99
- # The default external encoding is used by default for strings created from the
100
- # following locations:
101
- #
102
- # * CSV
103
- # * File data read from disk
104
- # * SDBM
105
- # * StringIO
106
- # * Zlib::GzipReader
107
- # * Zlib::GzipWriter
108
- # * String#inspect
109
- # * Regexp#inspect
110
- #
111
- # While strings created from these locations will have this encoding, the
112
- # encoding may not be valid. Be sure to check String#valid_encoding?.
113
- #
114
- # File data written to disk will be transcoded to the default external encoding
115
- # when written, if default_internal is not nil.
116
- #
117
- # The default external encoding is initialized by the -E option. If -E isn't
118
- # set, it is initialized to UTF-8 on Windows and the locale on other operating
119
- # systems.
120
- #
121
- def self.default_external: () -> Encoding
122
-
123
- # <!--
124
- # rdoc-file=encoding.c
125
- # - Encoding.default_external = enc
126
- # -->
127
- # Sets default external encoding. You should not set Encoding::default_external
128
- # in ruby code as strings created before changing the value may have a different
129
- # encoding from strings created after the value was changed., instead you should
130
- # use `ruby -E` to invoke ruby with the correct default_external.
131
- #
132
- # See Encoding::default_external for information on how the default external
133
- # encoding is used.
134
- #
135
- def self.default_external=: (Encoding enc) -> Encoding
136
- | [T < _ToStr] (T enc) -> T
137
-
138
- # <!--
139
- # rdoc-file=encoding.c
140
- # - Encoding.default_internal -> enc
141
- # -->
142
- # Returns default internal encoding. Strings will be transcoded to the default
143
- # internal encoding in the following places if the default internal encoding is
144
- # not nil:
145
- #
146
- # * CSV
147
- # * Etc.sysconfdir and Etc.systmpdir
148
- # * File data read from disk
149
- # * File names from Dir
150
- # * Integer#chr
151
- # * String#inspect and Regexp#inspect
152
- # * Strings returned from Readline
153
- # * Strings returned from SDBM
154
- # * Time#zone
155
- # * Values from ENV
156
- # * Values in ARGV including $PROGRAM_NAME
157
- #
158
- # Additionally String#encode and String#encode! use the default internal
159
- # encoding if no encoding is given.
160
- #
161
- # The script encoding (__ENCODING__), not default_internal, is used as the
162
- # encoding of created strings.
163
- #
164
- # Encoding::default_internal is initialized with -E option or nil otherwise.
165
- #
166
- def self.default_internal: () -> Encoding?
167
-
168
- # <!--
169
- # rdoc-file=encoding.c
170
- # - Encoding.default_internal = enc or nil
171
- # -->
172
- # Sets default internal encoding or removes default internal encoding when
173
- # passed nil. You should not set Encoding::default_internal in ruby code as
174
- # strings created before changing the value may have a different encoding from
175
- # strings created after the change. Instead you should use `ruby -E` to invoke
176
- # ruby with the correct default_internal.
177
- #
178
- # See Encoding::default_internal for information on how the default internal
179
- # encoding is used.
180
- #
181
- def self.default_internal=: (Encoding enc) -> Encoding
182
- | [T < _ToStr] (T enc) -> T
183
- | (nil) -> nil
184
-
185
- # <!--
186
- # rdoc-file=encoding.c
187
- # - Encoding.find(string) -> enc
188
- # -->
189
- # Search the encoding with specified *name*. *name* should be a string.
190
- #
191
- # Encoding.find("US-ASCII") #=> #<Encoding:US-ASCII>
192
- #
193
- # Names which this method accept are encoding names and aliases including
194
- # following special aliases
195
- #
196
- # "external"
197
- # : default external encoding
198
- #
199
- # "internal"
200
- # : default internal encoding
201
- #
202
- # "locale"
203
- # : locale encoding
204
- #
205
- # "filesystem"
206
- # : filesystem encoding
207
- #
208
- #
209
- # An ArgumentError is raised when no encoding with *name*. Only
210
- # `Encoding.find("internal")` however returns nil when no encoding named
211
- # "internal", in other words, when Ruby has no default internal encoding.
212
- #
213
- def self.find: (encoding enc) -> Encoding?
214
-
215
- # <!--
216
- # rdoc-file=encoding.c
217
- # - Encoding.list -> [enc1, enc2, ...]
218
- # -->
219
- # Returns the list of loaded encodings.
220
- #
221
- # Encoding.list
222
- # #=> [#<Encoding:ASCII-8BIT>, #<Encoding:UTF-8>,
223
- # #<Encoding:ISO-2022-JP (dummy)>]
224
- #
225
- # Encoding.find("US-ASCII")
226
- # #=> #<Encoding:US-ASCII>
227
- #
228
- # Encoding.list
229
- # #=> [#<Encoding:ASCII-8BIT>, #<Encoding:UTF-8>,
230
- # #<Encoding:US-ASCII>, #<Encoding:ISO-2022-JP (dummy)>]
231
- #
232
- def self.list: () -> Array[Encoding]
233
-
234
- # <!--
235
- # rdoc-file=encoding.c
236
- # - Encoding.name_list -> ["enc1", "enc2", ...]
237
- # -->
238
- # Returns the list of available encoding names.
239
- #
240
- # Encoding.name_list
241
- # #=> ["US-ASCII", "ASCII-8BIT", "UTF-8",
242
- # "ISO-8859-1", "Shift_JIS", "EUC-JP",
243
- # "Windows-31J",
244
- # "BINARY", "CP932", "eucJP"]
245
- #
246
- def self.name_list: () -> Array[String]
247
-
248
- # <!--
249
- # rdoc-file=encoding.c
250
- # - enc.ascii_compatible? -> true or false
251
- # -->
252
- # Returns whether ASCII-compatible or not.
253
- #
254
- # Encoding::UTF_8.ascii_compatible? #=> true
255
- # Encoding::UTF_16BE.ascii_compatible? #=> false
256
- #
257
- def ascii_compatible?: () -> bool
258
-
259
- # <!--
260
- # rdoc-file=encoding.c
261
- # - enc.dummy? -> true or false
262
- # -->
263
- # Returns true for dummy encodings. A dummy encoding is an encoding for which
264
- # character handling is not properly implemented. It is used for stateful
265
- # encodings.
266
- #
267
- # Encoding::ISO_2022_JP.dummy? #=> true
268
- # Encoding::UTF_8.dummy? #=> false
269
- #
270
- def dummy?: () -> bool
271
-
272
- # <!--
273
- # rdoc-file=encoding.c
274
- # - enc.inspect -> string
275
- # -->
276
- # Returns a string which represents the encoding for programmers.
277
- #
278
- # Encoding::UTF_8.inspect #=> "#<Encoding:UTF-8>"
279
- # Encoding::ISO_2022_JP.inspect #=> "#<Encoding:ISO-2022-JP (dummy)>"
280
- #
281
- def inspect: () -> String
282
-
283
- # <!-- rdoc-file=encoding.c -->
284
- # Returns the name of the encoding.
285
- #
286
- # Encoding::UTF_8.name #=> "UTF-8"
287
- #
288
- def name: () -> String
289
-
290
- # <!--
291
- # rdoc-file=encoding.c
292
- # - enc.names -> array
293
- # -->
294
- # Returns the list of name and aliases of the encoding.
295
- #
296
- # Encoding::WINDOWS_31J.names #=> ["Windows-31J", "CP932", "csWindows31J", "SJIS", "PCK"]
297
- #
298
- def names: () -> Array[String]
299
-
300
- # <!--
301
- # rdoc-file=encoding.c
302
- # - enc.name -> string
303
- # - enc.to_s -> string
304
- # -->
305
- # Returns the name of the encoding.
306
- #
307
- # Encoding::UTF_8.name #=> "UTF-8"
308
- #
309
- alias to_s name
310
-
311
- ANSI_X3_4_1968: Encoding
312
- ASCII: Encoding
313
- ASCII_8BIT: Encoding
314
- BIG5: Encoding
315
- BIG5_HKSCS: Encoding
316
- BIG5_HKSCS_2008: Encoding
317
- BIG5_UAO: Encoding
318
- BINARY: Encoding
319
- Big5: Encoding
320
- Big5_HKSCS: Encoding
321
- Big5_HKSCS_2008: Encoding
322
- Big5_UAO: Encoding
323
- CESU_8: Encoding
324
- CP1250: Encoding
325
- CP1251: Encoding
326
- CP1252: Encoding
327
- CP1253: Encoding
328
- CP1254: Encoding
329
- CP1255: Encoding
330
- CP1256: Encoding
331
- CP1257: Encoding
332
- CP1258: Encoding
333
- CP437: Encoding
334
- CP50220: Encoding
335
- CP50221: Encoding
336
- CP51932: Encoding
337
- CP65000: Encoding
338
- CP65001: Encoding
339
- CP737: Encoding
340
- CP775: Encoding
341
- CP850: Encoding
342
- CP852: Encoding
343
- CP855: Encoding
344
- CP857: Encoding
345
- CP860: Encoding
346
- CP861: Encoding
347
- CP862: Encoding
348
- CP863: Encoding
349
- CP864: Encoding
350
- CP865: Encoding
351
- CP866: Encoding
352
- CP869: Encoding
353
- CP874: Encoding
354
- CP878: Encoding
355
- CP932: Encoding
356
- CP936: Encoding
357
- CP949: Encoding
358
- CP950: Encoding
359
- CP951: Encoding
360
- CSWINDOWS31J: Encoding
361
- CsWindows31J: Encoding
362
- EBCDIC_CP_US: Encoding
363
- EMACS_MULE: Encoding
364
- EUCCN: Encoding
365
- EUCJP: Encoding
366
- EUCJP_MS: Encoding
367
- EUCKR: Encoding
368
- EUCTW: Encoding
369
- EUC_CN: Encoding
370
- EUC_JISX0213: Encoding
371
- EUC_JIS_2004: Encoding
372
- EUC_JP: Encoding
373
- EUC_JP_MS: Encoding
374
- EUC_KR: Encoding
375
- EUC_TW: Encoding
376
- Emacs_Mule: Encoding
377
- EucCN: Encoding
378
- EucJP: Encoding
379
- EucJP_ms: Encoding
380
- EucKR: Encoding
381
- EucTW: Encoding
382
- GB12345: Encoding
383
- GB18030: Encoding
384
- GB1988: Encoding
385
- GB2312: Encoding
386
- GBK: Encoding
387
- IBM037: Encoding
388
- IBM437: Encoding
389
- IBM737: Encoding
390
- IBM720: Encoding
391
- CP720: Encoding
392
- IBM775: Encoding
393
- IBM850: Encoding
394
- IBM852: Encoding
395
- IBM855: Encoding
396
- IBM857: Encoding
397
- IBM860: Encoding
398
- IBM861: Encoding
399
- IBM862: Encoding
400
- IBM863: Encoding
401
- IBM864: Encoding
402
- IBM865: Encoding
403
- IBM866: Encoding
404
- IBM869: Encoding
405
- ISO2022_JP: Encoding
406
- ISO2022_JP2: Encoding
407
- ISO8859_1: Encoding
408
- ISO8859_10: Encoding
409
- ISO8859_11: Encoding
410
- ISO8859_13: Encoding
411
- ISO8859_14: Encoding
412
- ISO8859_15: Encoding
413
- ISO8859_16: Encoding
414
- ISO8859_2: Encoding
415
- ISO8859_3: Encoding
416
- ISO8859_4: Encoding
417
- ISO8859_5: Encoding
418
- ISO8859_6: Encoding
419
- ISO8859_7: Encoding
420
- ISO8859_8: Encoding
421
- ISO8859_9: Encoding
422
- ISO_2022_JP: Encoding
423
- ISO_2022_JP_2: Encoding
424
- ISO_2022_JP_KDDI: Encoding
425
- ISO_8859_1: Encoding
426
- ISO_8859_10: Encoding
427
- ISO_8859_11: Encoding
428
- ISO_8859_13: Encoding
429
- ISO_8859_14: Encoding
430
- ISO_8859_15: Encoding
431
- ISO_8859_16: Encoding
432
- ISO_8859_2: Encoding
433
- ISO_8859_3: Encoding
434
- ISO_8859_4: Encoding
435
- ISO_8859_5: Encoding
436
- ISO_8859_6: Encoding
437
- ISO_8859_7: Encoding
438
- ISO_8859_8: Encoding
439
- ISO_8859_9: Encoding
440
- KOI8_R: Encoding
441
- KOI8_U: Encoding
442
- MACCENTEURO: Encoding
443
- MACCROATIAN: Encoding
444
- MACCYRILLIC: Encoding
445
- MACGREEK: Encoding
446
- MACICELAND: Encoding
447
- MACJAPAN: Encoding
448
- MACJAPANESE: Encoding
449
- MACROMAN: Encoding
450
- MACROMANIA: Encoding
451
- MACTHAI: Encoding
452
- MACTURKISH: Encoding
453
- MACUKRAINE: Encoding
454
- MacCentEuro: Encoding
455
- MacCroatian: Encoding
456
- MacCyrillic: Encoding
457
- MacGreek: Encoding
458
- MacIceland: Encoding
459
- MacJapan: Encoding
460
- MacJapanese: Encoding
461
- MacRoman: Encoding
462
- MacRomania: Encoding
463
- MacThai: Encoding
464
- MacTurkish: Encoding
465
- MacUkraine: Encoding
466
- PCK: Encoding
467
- SHIFT_JIS: Encoding
468
- SJIS: Encoding
469
- SJIS_DOCOMO: Encoding
470
- SJIS_DoCoMo: Encoding
471
- SJIS_KDDI: Encoding
472
- SJIS_SOFTBANK: Encoding
473
- SJIS_SoftBank: Encoding
474
- STATELESS_ISO_2022_JP: Encoding
475
- STATELESS_ISO_2022_JP_KDDI: Encoding
476
- Shift_JIS: Encoding
477
- Stateless_ISO_2022_JP: Encoding
478
- Stateless_ISO_2022_JP_KDDI: Encoding
479
- TIS_620: Encoding
480
- UCS_2BE: Encoding
481
- UCS_4BE: Encoding
482
- UCS_4LE: Encoding
483
- US_ASCII: Encoding
484
- UTF8_DOCOMO: Encoding
485
- UTF8_DoCoMo: Encoding
486
- UTF8_KDDI: Encoding
487
- UTF8_MAC: Encoding
488
- UTF8_SOFTBANK: Encoding
489
- UTF8_SoftBank: Encoding
490
- UTF_16: Encoding
491
- UTF_16BE: Encoding
492
- UTF_16LE: Encoding
493
- UTF_32: Encoding
494
- UTF_32BE: Encoding
495
- UTF_32LE: Encoding
496
- UTF_7: Encoding
497
- UTF_8: Encoding
498
- UTF_8_HFS: Encoding
499
- UTF_8_MAC: Encoding
500
- WINDOWS_1250: Encoding
501
- WINDOWS_1251: Encoding
502
- WINDOWS_1252: Encoding
503
- WINDOWS_1253: Encoding
504
- WINDOWS_1254: Encoding
505
- WINDOWS_1255: Encoding
506
- WINDOWS_1256: Encoding
507
- WINDOWS_1257: Encoding
508
- WINDOWS_1258: Encoding
509
- WINDOWS_31J: Encoding
510
- WINDOWS_874: Encoding
511
- Windows_1250: Encoding
512
- Windows_1251: Encoding
513
- Windows_1252: Encoding
514
- Windows_1253: Encoding
515
- Windows_1254: Encoding
516
- Windows_1255: Encoding
517
- Windows_1256: Encoding
518
- Windows_1257: Encoding
519
- Windows_1258: Encoding
520
- Windows_31J: Encoding
521
- Windows_874: Encoding
522
-
523
- # <!-- rdoc-file=error.c -->
524
- # Raised by Encoding and String methods when the source encoding is incompatible
525
- # with the target encoding.
526
- #
527
- class CompatibilityError < EncodingError
528
- end
529
-
530
- # <!-- rdoc-file=transcode.c -->
531
- # Raised by transcoding methods when a named encoding does not correspond with a
532
- # known converter.
533
- #
534
- class ConverterNotFoundError < EncodingError
535
- end
536
-
537
- # <!-- rdoc-file=transcode.c -->
538
- # Raised by Encoding and String methods when the string being transcoded
539
- # contains a byte invalid for the either the source or target encoding.
540
- #
541
- class InvalidByteSequenceError < EncodingError
542
- # <!--
543
- # rdoc-file=transcode.c
544
- # - ecerr.destination_encoding -> string
545
- # -->
546
- # Returns the destination encoding as an encoding object.
547
- #
548
- def destination_encoding: () -> Encoding
549
-
550
- # <!--
551
- # rdoc-file=transcode.c
552
- # - ecerr.destination_encoding_name -> string
553
- # -->
554
- # Returns the destination encoding name as a string.
555
- #
556
- def destination_encoding_name: () -> String
557
-
558
- # <!--
559
- # rdoc-file=transcode.c
560
- # - ecerr.error_bytes -> string
561
- # -->
562
- # Returns the discarded bytes when Encoding::InvalidByteSequenceError occurs.
563
- #
564
- # ec = Encoding::Converter.new("EUC-JP", "ISO-8859-1")
565
- # begin
566
- # ec.convert("abc\xA1\xFFdef")
567
- # rescue Encoding::InvalidByteSequenceError
568
- # p $! #=> #<Encoding::InvalidByteSequenceError: "\xA1" followed by "\xFF" on EUC-JP>
569
- # puts $!.error_bytes.dump #=> "\xA1"
570
- # puts $!.readagain_bytes.dump #=> "\xFF"
571
- # end
572
- #
573
- def error_bytes: () -> String
574
-
575
- # <!--
576
- # rdoc-file=transcode.c
577
- # - ecerr.incomplete_input? -> true or false
578
- # -->
579
- # Returns true if the invalid byte sequence error is caused by premature end of
580
- # string.
581
- #
582
- # ec = Encoding::Converter.new("EUC-JP", "ISO-8859-1")
583
- #
584
- # begin
585
- # ec.convert("abc\xA1z")
586
- # rescue Encoding::InvalidByteSequenceError
587
- # p $! #=> #<Encoding::InvalidByteSequenceError: "\xA1" followed by "z" on EUC-JP>
588
- # p $!.incomplete_input? #=> false
589
- # end
590
- #
591
- # begin
592
- # ec.convert("abc\xA1")
593
- # ec.finish
594
- # rescue Encoding::InvalidByteSequenceError
595
- # p $! #=> #<Encoding::InvalidByteSequenceError: incomplete "\xA1" on EUC-JP>
596
- # p $!.incomplete_input? #=> true
597
- # end
598
- #
599
- def incomplete_input?: () -> bool
600
-
601
- # <!--
602
- # rdoc-file=transcode.c
603
- # - ecerr.readagain_bytes -> string
604
- # -->
605
- # Returns the bytes to be read again when Encoding::InvalidByteSequenceError
606
- # occurs.
607
- #
608
- def readagain_bytes: () -> String
609
-
610
- # <!--
611
- # rdoc-file=transcode.c
612
- # - ecerr.source_encoding -> encoding
613
- # -->
614
- # Returns the source encoding as an encoding object.
615
- #
616
- # Note that the result may not be equal to the source encoding of the encoding
617
- # converter if the conversion has multiple steps.
618
- #
619
- # ec = Encoding::Converter.new("ISO-8859-1", "EUC-JP") # ISO-8859-1 -> UTF-8 -> EUC-JP
620
- # begin
621
- # ec.convert("\xa0") # NO-BREAK SPACE, which is available in UTF-8 but not in EUC-JP.
622
- # rescue Encoding::UndefinedConversionError
623
- # p $!.source_encoding #=> #<Encoding:UTF-8>
624
- # p $!.destination_encoding #=> #<Encoding:EUC-JP>
625
- # p $!.source_encoding_name #=> "UTF-8"
626
- # p $!.destination_encoding_name #=> "EUC-JP"
627
- # end
628
- #
629
- def source_encoding: () -> Encoding
630
-
631
- # <!--
632
- # rdoc-file=transcode.c
633
- # - ecerr.source_encoding_name -> string
634
- # -->
635
- # Returns the source encoding name as a string.
636
- #
637
- def source_encoding_name: () -> String
638
- end
639
-
640
- # <!-- rdoc-file=transcode.c -->
641
- # Raised by Encoding and String methods when a transcoding operation fails.
642
- #
643
- class UndefinedConversionError < EncodingError
644
- # <!--
645
- # rdoc-file=transcode.c
646
- # - ecerr.destination_encoding -> string
647
- # -->
648
- # Returns the destination encoding as an encoding object.
649
- #
650
- def destination_encoding: () -> Encoding
651
-
652
- # <!--
653
- # rdoc-file=transcode.c
654
- # - ecerr.destination_encoding_name -> string
655
- # -->
656
- # Returns the destination encoding name as a string.
657
- #
658
- def destination_encoding_name: () -> String
659
-
660
- # <!--
661
- # rdoc-file=transcode.c
662
- # - ecerr.error_char -> string
663
- # -->
664
- # Returns the one-character string which cause
665
- # Encoding::UndefinedConversionError.
666
- #
667
- # ec = Encoding::Converter.new("ISO-8859-1", "EUC-JP")
668
- # begin
669
- # ec.convert("\xa0")
670
- # rescue Encoding::UndefinedConversionError
671
- # puts $!.error_char.dump #=> "\xC2\xA0"
672
- # p $!.error_char.encoding #=> #<Encoding:UTF-8>
673
- # end
674
- #
675
- def error_char: () -> String
676
-
677
- # <!--
678
- # rdoc-file=transcode.c
679
- # - ecerr.source_encoding -> encoding
680
- # -->
681
- # Returns the source encoding as an encoding object.
682
- #
683
- # Note that the result may not be equal to the source encoding of the encoding
684
- # converter if the conversion has multiple steps.
685
- #
686
- # ec = Encoding::Converter.new("ISO-8859-1", "EUC-JP") # ISO-8859-1 -> UTF-8 -> EUC-JP
687
- # begin
688
- # ec.convert("\xa0") # NO-BREAK SPACE, which is available in UTF-8 but not in EUC-JP.
689
- # rescue Encoding::UndefinedConversionError
690
- # p $!.source_encoding #=> #<Encoding:UTF-8>
691
- # p $!.destination_encoding #=> #<Encoding:EUC-JP>
692
- # p $!.source_encoding_name #=> "UTF-8"
693
- # p $!.destination_encoding_name #=> "EUC-JP"
694
- # end
695
- #
696
- def source_encoding: () -> Encoding
697
-
698
- # <!--
699
- # rdoc-file=transcode.c
700
- # - ecerr.source_encoding_name -> string
701
- # -->
702
- # Returns the source encoding name as a string.
703
- #
704
- def source_encoding_name: () -> String
705
- end
706
- end
707
-
708
- # <!-- rdoc-file=transcode.c -->
709
- # Encoding conversion class.
710
- #
711
- class Encoding::Converter < Object
712
- type encoding = String | Encoding
713
- type decorator = "universal_newline"
714
- | "crlf_newline"
715
- | "cr_newline"
716
- | "xml_text_escape"
717
- | "xml_attr_content_escape"
718
- | "xml_attr_quote"
719
- type conversion_path = Array[[encoding, encoding] | decorator]
720
- type convert_result = :invalid_byte_sequence
721
- | :incomplete_input
722
- | :undefined_conversion
723
- | :after_output
724
- | :destination_buffer_full
725
- | :source_buffer_empty
726
- | :finished
727
-
728
- # <!--
729
- # rdoc-file=transcode.c
730
- # - Encoding::Converter.asciicompat_encoding(string) -> encoding or nil
731
- # - Encoding::Converter.asciicompat_encoding(encoding) -> encoding or nil
732
- # -->
733
- # Returns the corresponding ASCII compatible encoding.
734
- #
735
- # Returns nil if the argument is an ASCII compatible encoding.
736
- #
737
- # "corresponding ASCII compatible encoding" is an ASCII compatible encoding
738
- # which can represents exactly the same characters as the given ASCII
739
- # incompatible encoding. So, no conversion undefined error occurs when
740
- # converting between the two encodings.
741
- #
742
- # Encoding::Converter.asciicompat_encoding("ISO-2022-JP") #=> #<Encoding:stateless-ISO-2022-JP>
743
- # Encoding::Converter.asciicompat_encoding("UTF-16BE") #=> #<Encoding:UTF-8>
744
- # Encoding::Converter.asciicompat_encoding("UTF-8") #=> nil
745
- #
746
- def self.asciicompat_encoding: (encoding enc) -> Encoding?
747
-
748
- # <!--
749
- # rdoc-file=transcode.c
750
- # - Encoding::Converter.search_convpath(source_encoding, destination_encoding) -> ary
751
- # - Encoding::Converter.search_convpath(source_encoding, destination_encoding, opt) -> ary
752
- # -->
753
- # Returns a conversion path.
754
- #
755
- # p Encoding::Converter.search_convpath("ISO-8859-1", "EUC-JP")
756
- # #=> [[#<Encoding:ISO-8859-1>, #<Encoding:UTF-8>],
757
- # # [#<Encoding:UTF-8>, #<Encoding:EUC-JP>]]
758
- #
759
- # p Encoding::Converter.search_convpath("ISO-8859-1", "EUC-JP", universal_newline: true)
760
- # or
761
- # p Encoding::Converter.search_convpath("ISO-8859-1", "EUC-JP", newline: :universal)
762
- # #=> [[#<Encoding:ISO-8859-1>, #<Encoding:UTF-8>],
763
- # # [#<Encoding:UTF-8>, #<Encoding:EUC-JP>],
764
- # # "universal_newline"]
765
- #
766
- # p Encoding::Converter.search_convpath("ISO-8859-1", "UTF-32BE", universal_newline: true)
767
- # or
768
- # p Encoding::Converter.search_convpath("ISO-8859-1", "UTF-32BE", newline: :universal)
769
- # #=> [[#<Encoding:ISO-8859-1>, #<Encoding:UTF-8>],
770
- # # "universal_newline",
771
- # # [#<Encoding:UTF-8>, #<Encoding:UTF-32BE>]]
772
- #
773
- def self.search_convpath: (
774
- encoding source,
775
- encoding destination,
776
- ?newline: :universal | :crlf | :cr,
777
- ?universal_newline: bool,
778
- ?crlf_newline: bool,
779
- ?cr_newline: bool,
780
- ?xml: :text | :attr
781
- ) -> conversion_path
782
-
783
- # <!--
784
- # rdoc-file=transcode.c
785
- # - ec == other -> true or false
786
- # -->
787
- #
788
- def ==: (self) -> bool
789
-
790
- # <!--
791
- # rdoc-file=transcode.c
792
- # - ec.convert(source_string) -> destination_string
793
- # -->
794
- # Convert source_string and return destination_string.
795
- #
796
- # source_string is assumed as a part of source. i.e. :partial_input=>true is
797
- # specified internally. finish method should be used last.
798
- #
799
- # ec = Encoding::Converter.new("utf-8", "euc-jp")
800
- # puts ec.convert("\u3042").dump #=> "\xA4\xA2"
801
- # puts ec.finish.dump #=> ""
802
- #
803
- # ec = Encoding::Converter.new("euc-jp", "utf-8")
804
- # puts ec.convert("\xA4").dump #=> ""
805
- # puts ec.convert("\xA2").dump #=> "\xE3\x81\x82"
806
- # puts ec.finish.dump #=> ""
807
- #
808
- # ec = Encoding::Converter.new("utf-8", "iso-2022-jp")
809
- # puts ec.convert("\xE3").dump #=> "".force_encoding("ISO-2022-JP")
810
- # puts ec.convert("\x81").dump #=> "".force_encoding("ISO-2022-JP")
811
- # puts ec.convert("\x82").dump #=> "\e$B$\"".force_encoding("ISO-2022-JP")
812
- # puts ec.finish.dump #=> "\e(B".force_encoding("ISO-2022-JP")
813
- #
814
- # If a conversion error occur, Encoding::UndefinedConversionError or
815
- # Encoding::InvalidByteSequenceError is raised. Encoding::Converter#convert
816
- # doesn't supply methods to recover or restart from these exceptions. When you
817
- # want to handle these conversion errors, use
818
- # Encoding::Converter#primitive_convert.
819
- #
820
- def convert: (String source) -> String
821
-
822
- # <!--
823
- # rdoc-file=transcode.c
824
- # - ec.convpath -> ary
825
- # -->
826
- # Returns the conversion path of ec.
827
- #
828
- # The result is an array of conversions.
829
- #
830
- # ec = Encoding::Converter.new("ISO-8859-1", "EUC-JP", crlf_newline: true)
831
- # p ec.convpath
832
- # #=> [[#<Encoding:ISO-8859-1>, #<Encoding:UTF-8>],
833
- # # [#<Encoding:UTF-8>, #<Encoding:EUC-JP>],
834
- # # "crlf_newline"]
835
- #
836
- # Each element of the array is a pair of encodings or a string. A pair means an
837
- # encoding conversion. A string means a decorator.
838
- #
839
- # In the above example, [#<Encoding:ISO-8859-1>, #<Encoding:UTF-8>] means a
840
- # converter from ISO-8859-1 to UTF-8. "crlf_newline" means newline converter
841
- # from LF to CRLF.
842
- #
843
- def convpath: () -> conversion_path
844
-
845
- # <!--
846
- # rdoc-file=transcode.c
847
- # - ec.destination_encoding -> encoding
848
- # -->
849
- # Returns the destination encoding as an Encoding object.
850
- #
851
- def destination_encoding: () -> Encoding
852
-
853
- # <!--
854
- # rdoc-file=transcode.c
855
- # - ec.finish -> string
856
- # -->
857
- # Finishes the converter. It returns the last part of the converted string.
858
- #
859
- # ec = Encoding::Converter.new("utf-8", "iso-2022-jp")
860
- # p ec.convert("\u3042") #=> "\e$B$\""
861
- # p ec.finish #=> "\e(B"
862
- #
863
- def finish: () -> String
864
-
865
- # <!--
866
- # rdoc-file=transcode.c
867
- # - ec.insert_output(string) -> nil
868
- # -->
869
- # Inserts string into the encoding converter. The string will be converted to
870
- # the destination encoding and output on later conversions.
871
- #
872
- # If the destination encoding is stateful, string is converted according to the
873
- # state and the state is updated.
874
- #
875
- # This method should be used only when a conversion error occurs.
876
- #
877
- # ec = Encoding::Converter.new("utf-8", "iso-8859-1")
878
- # src = "HIRAGANA LETTER A is \u{3042}."
879
- # dst = ""
880
- # p ec.primitive_convert(src, dst) #=> :undefined_conversion
881
- # puts "[#{dst.dump}, #{src.dump}]" #=> ["HIRAGANA LETTER A is ", "."]
882
- # ec.insert_output("<err>")
883
- # p ec.primitive_convert(src, dst) #=> :finished
884
- # puts "[#{dst.dump}, #{src.dump}]" #=> ["HIRAGANA LETTER A is <err>.", ""]
885
- #
886
- # ec = Encoding::Converter.new("utf-8", "iso-2022-jp")
887
- # src = "\u{306F 3041 3068 2661 3002}" # U+2661 is not representable in iso-2022-jp
888
- # dst = ""
889
- # p ec.primitive_convert(src, dst) #=> :undefined_conversion
890
- # puts "[#{dst.dump}, #{src.dump}]" #=> ["\e$B$O$!$H".force_encoding("ISO-2022-JP"), "\xE3\x80\x82"]
891
- # ec.insert_output "?" # state change required to output "?".
892
- # p ec.primitive_convert(src, dst) #=> :finished
893
- # puts "[#{dst.dump}, #{src.dump}]" #=> ["\e$B$O$!$H\e(B?\e$B!#\e(B".force_encoding("ISO-2022-JP"), ""]
894
- #
895
- def insert_output: (String) -> nil
896
-
897
- # <!--
898
- # rdoc-file=transcode.c
899
- # - ec.inspect -> string
900
- # -->
901
- # Returns a printable version of *ec*
902
- #
903
- # ec = Encoding::Converter.new("iso-8859-1", "utf-8")
904
- # puts ec.inspect #=> #<Encoding::Converter: ISO-8859-1 to UTF-8>
905
- #
906
- def inspect: () -> String
907
-
908
- # <!--
909
- # rdoc-file=transcode.c
910
- # - ec.last_error -> exception or nil
911
- # -->
912
- # Returns an exception object for the last conversion. Returns nil if the last
913
- # conversion did not produce an error.
914
- #
915
- # "error" means that Encoding::InvalidByteSequenceError and
916
- # Encoding::UndefinedConversionError for Encoding::Converter#convert and
917
- # :invalid_byte_sequence, :incomplete_input and :undefined_conversion for
918
- # Encoding::Converter#primitive_convert.
919
- #
920
- # ec = Encoding::Converter.new("utf-8", "iso-8859-1")
921
- # p ec.primitive_convert(src="\xf1abcd", dst="") #=> :invalid_byte_sequence
922
- # p ec.last_error #=> #<Encoding::InvalidByteSequenceError: "\xF1" followed by "a" on UTF-8>
923
- # p ec.primitive_convert(src, dst, nil, 1) #=> :destination_buffer_full
924
- # p ec.last_error #=> nil
925
- #
926
- def last_error: () -> Encoding::InvalidByteSequenceError?
927
- | () -> Encoding::UndefinedConversionError?
928
-
929
- # <!--
930
- # rdoc-file=transcode.c
931
- # - ec.primitive_convert(source_buffer, destination_buffer) -> symbol
932
- # - ec.primitive_convert(source_buffer, destination_buffer, destination_byteoffset) -> symbol
933
- # - ec.primitive_convert(source_buffer, destination_buffer, destination_byteoffset, destination_bytesize) -> symbol
934
- # - ec.primitive_convert(source_buffer, destination_buffer, destination_byteoffset, destination_bytesize, opt) -> symbol
935
- # -->
936
- # possible opt elements:
937
- # hash form:
938
- # :partial_input => true # source buffer may be part of larger source
939
- # :after_output => true # stop conversion after output before input
940
- # integer form:
941
- # Encoding::Converter::PARTIAL_INPUT
942
- # Encoding::Converter::AFTER_OUTPUT
943
- #
944
- # possible results:
945
- # :invalid_byte_sequence
946
- # :incomplete_input
947
- # :undefined_conversion
948
- # :after_output
949
- # :destination_buffer_full
950
- # :source_buffer_empty
951
- # :finished
952
- #
953
- # primitive_convert converts source_buffer into destination_buffer.
954
- #
955
- # source_buffer should be a string or nil. nil means an empty string.
956
- #
957
- # destination_buffer should be a string.
958
- #
959
- # destination_byteoffset should be an integer or nil. nil means the end of
960
- # destination_buffer. If it is omitted, nil is assumed.
961
- #
962
- # destination_bytesize should be an integer or nil. nil means unlimited. If it
963
- # is omitted, nil is assumed.
964
- #
965
- # opt should be nil, a hash or an integer. nil means no flags. If it is omitted,
966
- # nil is assumed.
967
- #
968
- # primitive_convert converts the content of source_buffer from beginning and
969
- # store the result into destination_buffer.
970
- #
971
- # destination_byteoffset and destination_bytesize specify the region which the
972
- # converted result is stored. destination_byteoffset specifies the start
973
- # position in destination_buffer in bytes. If destination_byteoffset is nil,
974
- # destination_buffer.bytesize is used for appending the result.
975
- # destination_bytesize specifies maximum number of bytes. If
976
- # destination_bytesize is nil, destination size is unlimited. After conversion,
977
- # destination_buffer is resized to destination_byteoffset + actually produced
978
- # number of bytes. Also destination_buffer's encoding is set to
979
- # destination_encoding.
980
- #
981
- # primitive_convert drops the converted part of source_buffer. the dropped part
982
- # is converted in destination_buffer or buffered in Encoding::Converter object.
983
- #
984
- # primitive_convert stops conversion when one of following condition met.
985
- # * invalid byte sequence found in source buffer (:invalid_byte_sequence)
986
- # `primitive_errinfo` and `last_error` methods returns the detail of the
987
- # error.
988
- # * unexpected end of source buffer (:incomplete_input) this occur only when
989
- # :partial_input is not specified. `primitive_errinfo` and `last_error`
990
- # methods returns the detail of the error.
991
- # * character not representable in output encoding (:undefined_conversion)
992
- # `primitive_errinfo` and `last_error` methods returns the detail of the
993
- # error.
994
- # * after some output is generated, before input is done (:after_output) this
995
- # occur only when :after_output is specified.
996
- # * destination buffer is full (:destination_buffer_full) this occur only when
997
- # destination_bytesize is non-nil.
998
- # * source buffer is empty (:source_buffer_empty) this occur only when
999
- # :partial_input is specified.
1000
- # * conversion is finished (:finished)
1001
- #
1002
- # example:
1003
- # ec = Encoding::Converter.new("UTF-8", "UTF-16BE")
1004
- # ret = ec.primitive_convert(src="pi", dst="", nil, 100)
1005
- # p [ret, src, dst] #=> [:finished, "", "\x00p\x00i"]
1006
- #
1007
- # ec = Encoding::Converter.new("UTF-8", "UTF-16BE")
1008
- # ret = ec.primitive_convert(src="pi", dst="", nil, 1)
1009
- # p [ret, src, dst] #=> [:destination_buffer_full, "i", "\x00"]
1010
- # ret = ec.primitive_convert(src, dst="", nil, 1)
1011
- # p [ret, src, dst] #=> [:destination_buffer_full, "", "p"]
1012
- # ret = ec.primitive_convert(src, dst="", nil, 1)
1013
- # p [ret, src, dst] #=> [:destination_buffer_full, "", "\x00"]
1014
- # ret = ec.primitive_convert(src, dst="", nil, 1)
1015
- # p [ret, src, dst] #=> [:finished, "", "i"]
1016
- #
1017
- def primitive_convert: (
1018
- String? source,
1019
- String destination,
1020
- ?Integer? destination_byteoffset,
1021
- ?Integer? destination_bytesize,
1022
- ?partial_input: bool,
1023
- ?after_output: bool
1024
- ) -> convert_result
1025
- | (
1026
- String? source,
1027
- String destination,
1028
- ?Integer? destination_byteoffset,
1029
- ?Integer? destination_bytesize,
1030
- ?Integer opt
1031
- ) -> convert_result
1032
-
1033
- # <!--
1034
- # rdoc-file=transcode.c
1035
- # - ec.primitive_errinfo -> array
1036
- # -->
1037
- # primitive_errinfo returns important information regarding the last error as a
1038
- # 5-element array:
1039
- #
1040
- # [result, enc1, enc2, error_bytes, readagain_bytes]
1041
- #
1042
- # result is the last result of primitive_convert.
1043
- #
1044
- # Other elements are only meaningful when result is :invalid_byte_sequence,
1045
- # :incomplete_input or :undefined_conversion.
1046
- #
1047
- # enc1 and enc2 indicate a conversion step as a pair of strings. For example, a
1048
- # converter from EUC-JP to ISO-8859-1 converts a string as follows: EUC-JP ->
1049
- # UTF-8 -> ISO-8859-1. So [enc1, enc2] is either ["EUC-JP", "UTF-8"] or
1050
- # ["UTF-8", "ISO-8859-1"].
1051
- #
1052
- # error_bytes and readagain_bytes indicate the byte sequences which caused the
1053
- # error. error_bytes is discarded portion. readagain_bytes is buffered portion
1054
- # which is read again on next conversion.
1055
- #
1056
- # Example:
1057
- #
1058
- # # \xff is invalid as EUC-JP.
1059
- # ec = Encoding::Converter.new("EUC-JP", "Shift_JIS")
1060
- # ec.primitive_convert(src="\xff", dst="", nil, 10)
1061
- # p ec.primitive_errinfo
1062
- # #=> [:invalid_byte_sequence, "EUC-JP", "Shift_JIS", "\xFF", ""]
1063
- #
1064
- # # HIRAGANA LETTER A (\xa4\xa2 in EUC-JP) is not representable in ISO-8859-1.
1065
- # # Since this error is occur in UTF-8 to ISO-8859-1 conversion,
1066
- # # error_bytes is HIRAGANA LETTER A in UTF-8 (\xE3\x81\x82).
1067
- # ec = Encoding::Converter.new("EUC-JP", "ISO-8859-1")
1068
- # ec.primitive_convert(src="\xa4\xa2", dst="", nil, 10)
1069
- # p ec.primitive_errinfo
1070
- # #=> [:undefined_conversion, "UTF-8", "ISO-8859-1", "\xE3\x81\x82", ""]
1071
- #
1072
- # # partial character is invalid
1073
- # ec = Encoding::Converter.new("EUC-JP", "ISO-8859-1")
1074
- # ec.primitive_convert(src="\xa4", dst="", nil, 10)
1075
- # p ec.primitive_errinfo
1076
- # #=> [:incomplete_input, "EUC-JP", "UTF-8", "\xA4", ""]
1077
- #
1078
- # # Encoding::Converter::PARTIAL_INPUT prevents invalid errors by
1079
- # # partial characters.
1080
- # ec = Encoding::Converter.new("EUC-JP", "ISO-8859-1")
1081
- # ec.primitive_convert(src="\xa4", dst="", nil, 10, Encoding::Converter::PARTIAL_INPUT)
1082
- # p ec.primitive_errinfo
1083
- # #=> [:source_buffer_empty, nil, nil, nil, nil]
1084
- #
1085
- # # \xd8\x00\x00@ is invalid as UTF-16BE because
1086
- # # no low surrogate after high surrogate (\xd8\x00).
1087
- # # It is detected by 3rd byte (\00) which is part of next character.
1088
- # # So the high surrogate (\xd8\x00) is discarded and
1089
- # # the 3rd byte is read again later.
1090
- # # Since the byte is buffered in ec, it is dropped from src.
1091
- # ec = Encoding::Converter.new("UTF-16BE", "UTF-8")
1092
- # ec.primitive_convert(src="\xd8\x00\x00@", dst="", nil, 10)
1093
- # p ec.primitive_errinfo
1094
- # #=> [:invalid_byte_sequence, "UTF-16BE", "UTF-8", "\xD8\x00", "\x00"]
1095
- # p src
1096
- # #=> "@"
1097
- #
1098
- # # Similar to UTF-16BE, \x00\xd8@\x00 is invalid as UTF-16LE.
1099
- # # The problem is detected by 4th byte.
1100
- # ec = Encoding::Converter.new("UTF-16LE", "UTF-8")
1101
- # ec.primitive_convert(src="\x00\xd8@\x00", dst="", nil, 10)
1102
- # p ec.primitive_errinfo
1103
- # #=> [:invalid_byte_sequence, "UTF-16LE", "UTF-8", "\x00\xD8", "@\x00"]
1104
- # p src
1105
- # #=> ""
1106
- #
1107
- def primitive_errinfo: () -> [convert_result, String?, String?, String?, String?]
1108
-
1109
- # <!--
1110
- # rdoc-file=transcode.c
1111
- # - ec.putback -> string
1112
- # - ec.putback(max_numbytes) -> string
1113
- # -->
1114
- # Put back the bytes which will be converted.
1115
- #
1116
- # The bytes are caused by invalid_byte_sequence error. When
1117
- # invalid_byte_sequence error, some bytes are discarded and some bytes are
1118
- # buffered to be converted later. The latter bytes can be put back. It can be
1119
- # observed by Encoding::InvalidByteSequenceError#readagain_bytes and
1120
- # Encoding::Converter#primitive_errinfo.
1121
- #
1122
- # ec = Encoding::Converter.new("utf-16le", "iso-8859-1")
1123
- # src = "\x00\xd8\x61\x00"
1124
- # dst = ""
1125
- # p ec.primitive_convert(src, dst) #=> :invalid_byte_sequence
1126
- # p ec.primitive_errinfo #=> [:invalid_byte_sequence, "UTF-16LE", "UTF-8", "\x00\xD8", "a\x00"]
1127
- # p ec.putback #=> "a\x00"
1128
- # p ec.putback #=> "" # no more bytes to put back
1129
- #
1130
- def putback: (?Integer max_numbytes) -> String
1131
-
1132
- # <!--
1133
- # rdoc-file=transcode.c
1134
- # - ec.replacement -> string
1135
- # -->
1136
- # Returns the replacement string.
1137
- #
1138
- # ec = Encoding::Converter.new("euc-jp", "us-ascii")
1139
- # p ec.replacement #=> "?"
1140
- #
1141
- # ec = Encoding::Converter.new("euc-jp", "utf-8")
1142
- # p ec.replacement #=> "\uFFFD"
1143
- #
1144
- def replacement: () -> String
1145
-
1146
- # <!--
1147
- # rdoc-file=transcode.c
1148
- # - ec.replacement = string
1149
- # -->
1150
- # Sets the replacement string.
1151
- #
1152
- # ec = Encoding::Converter.new("utf-8", "us-ascii", :undef => :replace)
1153
- # ec.replacement = "<undef>"
1154
- # p ec.convert("a \u3042 b") #=> "a <undef> b"
1155
- #
1156
- def replacement=: (String str) -> String
1157
-
1158
- # <!--
1159
- # rdoc-file=transcode.c
1160
- # - ec.source_encoding -> encoding
1161
- # -->
1162
- # Returns the source encoding as an Encoding object.
1163
- #
1164
- def source_encoding: () -> Encoding
1165
-
1166
- private
1167
-
1168
- # <!--
1169
- # rdoc-file=transcode.c
1170
- # - Encoding::Converter.new(source_encoding, destination_encoding)
1171
- # - Encoding::Converter.new(source_encoding, destination_encoding, opt)
1172
- # - Encoding::Converter.new(convpath)
1173
- # -->
1174
- # possible options elements:
1175
- # hash form:
1176
- # :invalid => nil # raise error on invalid byte sequence (default)
1177
- # :invalid => :replace # replace invalid byte sequence
1178
- # :undef => nil # raise error on undefined conversion (default)
1179
- # :undef => :replace # replace undefined conversion
1180
- # :replace => string # replacement string ("?" or "\uFFFD" if not specified)
1181
- # :newline => :universal # decorator for converting CRLF and CR to LF
1182
- # :newline => :lf # decorator for converting CRLF and CR to LF when writing
1183
- # :newline => :crlf # decorator for converting LF to CRLF
1184
- # :newline => :cr # decorator for converting LF to CR
1185
- # :universal_newline => true # decorator for converting CRLF and CR to LF
1186
- # :crlf_newline => true # decorator for converting LF to CRLF
1187
- # :cr_newline => true # decorator for converting LF to CR
1188
- # :lf_newline => true # decorator for converting CRLF and CR to LF when writing
1189
- # :xml => :text # escape as XML CharData.
1190
- # :xml => :attr # escape as XML AttValue
1191
- # integer form:
1192
- # Encoding::Converter::INVALID_REPLACE
1193
- # Encoding::Converter::UNDEF_REPLACE
1194
- # Encoding::Converter::UNDEF_HEX_CHARREF
1195
- # Encoding::Converter::UNIVERSAL_NEWLINE_DECORATOR
1196
- # Encoding::Converter::LF_NEWLINE_DECORATOR
1197
- # Encoding::Converter::CRLF_NEWLINE_DECORATOR
1198
- # Encoding::Converter::CR_NEWLINE_DECORATOR
1199
- # Encoding::Converter::XML_TEXT_DECORATOR
1200
- # Encoding::Converter::XML_ATTR_CONTENT_DECORATOR
1201
- # Encoding::Converter::XML_ATTR_QUOTE_DECORATOR
1202
- #
1203
- # Encoding::Converter.new creates an instance of Encoding::Converter.
1204
- #
1205
- # Source_encoding and destination_encoding should be a string or Encoding
1206
- # object.
1207
- #
1208
- # opt should be nil, a hash or an integer.
1209
- #
1210
- # convpath should be an array. convpath may contain
1211
- # * two-element arrays which contain encodings or encoding names, or
1212
- # * strings representing decorator names.
1213
- #
1214
- # Encoding::Converter.new optionally takes an option. The option should be a
1215
- # hash or an integer. The option hash can contain :invalid => nil, etc. The
1216
- # option integer should be logical-or of constants such as
1217
- # Encoding::Converter::INVALID_REPLACE, etc.
1218
- #
1219
- # :invalid => nil
1220
- # : Raise error on invalid byte sequence. This is a default behavior.
1221
- #
1222
- # :invalid => :replace
1223
- # : Replace invalid byte sequence by replacement string.
1224
- #
1225
- # :undef => nil
1226
- # : Raise an error if a character in source_encoding is not defined in
1227
- # destination_encoding. This is a default behavior.
1228
- #
1229
- # :undef => :replace
1230
- # : Replace undefined character in destination_encoding with replacement
1231
- # string.
1232
- #
1233
- # :replace => string
1234
- # : Specify the replacement string. If not specified, "uFFFD" is used for
1235
- # Unicode encodings and "?" for others.
1236
- #
1237
- # :universal_newline => true
1238
- # : Convert CRLF and CR to LF.
1239
- #
1240
- # :crlf_newline => true
1241
- # : Convert LF to CRLF.
1242
- #
1243
- # :cr_newline => true
1244
- # : Convert LF to CR.
1245
- #
1246
- # :lf_newline => true
1247
- # : Convert CRLF and CR to LF (when writing).
1248
- #
1249
- # :xml => :text
1250
- # : Escape as XML CharData. This form can be used as an HTML 4.0 #PCDATA.
1251
- # * '&' -> '&amp;'
1252
- # * '<' -> '&lt;'
1253
- # * '>' -> '&gt;'
1254
- # * undefined characters in destination_encoding -> hexadecimal CharRef
1255
- # such as &#xHH;
1256
- #
1257
- # :xml => :attr
1258
- # : Escape as XML AttValue. The converted result is quoted as "...". This form
1259
- # can be used as an HTML 4.0 attribute value.
1260
- # * '&' -> '&amp;'
1261
- # * '<' -> '&lt;'
1262
- # * '>' -> '&gt;'
1263
- # * '"' -> '&quot;'
1264
- # * undefined characters in destination_encoding -> hexadecimal CharRef
1265
- # such as &#xHH;
1266
- #
1267
- #
1268
- # Examples:
1269
- # # UTF-16BE to UTF-8
1270
- # ec = Encoding::Converter.new("UTF-16BE", "UTF-8")
1271
- #
1272
- # # Usually, decorators such as newline conversion are inserted last.
1273
- # ec = Encoding::Converter.new("UTF-16BE", "UTF-8", :universal_newline => true)
1274
- # p ec.convpath #=> [[#<Encoding:UTF-16BE>, #<Encoding:UTF-8>],
1275
- # # "universal_newline"]
1276
- #
1277
- # # But, if the last encoding is ASCII incompatible,
1278
- # # decorators are inserted before the last conversion.
1279
- # ec = Encoding::Converter.new("UTF-8", "UTF-16BE", :crlf_newline => true)
1280
- # p ec.convpath #=> ["crlf_newline",
1281
- # # [#<Encoding:UTF-8>, #<Encoding:UTF-16BE>]]
1282
- #
1283
- # # Conversion path can be specified directly.
1284
- # ec = Encoding::Converter.new(["universal_newline", ["EUC-JP", "UTF-8"], ["UTF-8", "UTF-16BE"]])
1285
- # p ec.convpath #=> ["universal_newline",
1286
- # # [#<Encoding:EUC-JP>, #<Encoding:UTF-8>],
1287
- # # [#<Encoding:UTF-8>, #<Encoding:UTF-16BE>]]
1288
- #
1289
- def initialize: (encoding source, encoding destination) -> void
1290
- | (encoding source, encoding destination,
1291
- ?invalid: :replace | nil,
1292
- ?undef: :replace | nil,
1293
- ?replace: String,
1294
- ?newline: :universal | :crlf | :cr,
1295
- ?universal_newline: bool,
1296
- ?crlf_newline: bool,
1297
- ?cr_newline: bool,
1298
- ?xml: :text | :attr
1299
- ) -> void
1300
- | (encoding source, encoding destination, Integer opts) -> void
1301
- | (conversion_path convpath) -> void
1302
- end
1303
-
1304
- # <!-- rdoc-file=transcode.c -->
1305
- # Stop converting after some output is complete but before all of the input was
1306
- # consumed. See primitive_convert for an example.
1307
- #
1308
- Encoding::Converter::AFTER_OUTPUT: Integer
1309
-
1310
- # <!-- rdoc-file=transcode.c -->
1311
- # Decorator for converting LF to CRLF
1312
- #
1313
- Encoding::Converter::CRLF_NEWLINE_DECORATOR: Integer
1314
-
1315
- # <!-- rdoc-file=transcode.c -->
1316
- # Decorator for converting LF to CR
1317
- #
1318
- Encoding::Converter::CR_NEWLINE_DECORATOR: Integer
1319
-
1320
- # <!-- rdoc-file=transcode.c -->
1321
- # Mask for invalid byte sequences
1322
- #
1323
- Encoding::Converter::INVALID_MASK: Integer
1324
-
1325
- # <!-- rdoc-file=transcode.c -->
1326
- # Replace invalid byte sequences
1327
- #
1328
- Encoding::Converter::INVALID_REPLACE: Integer
1329
-
1330
- # <!-- rdoc-file=transcode.c -->
1331
- # Indicates the source may be part of a larger string. See primitive_convert
1332
- # for an example.
1333
- #
1334
- Encoding::Converter::PARTIAL_INPUT: Integer
1335
-
1336
- # <!-- rdoc-file=transcode.c -->
1337
- # Replace byte sequences that are undefined in the destination encoding with an
1338
- # XML hexadecimal character reference. This is valid for XML conversion.
1339
- #
1340
- Encoding::Converter::UNDEF_HEX_CHARREF: Integer
1341
-
1342
- # <!-- rdoc-file=transcode.c -->
1343
- # Mask for a valid character in the source encoding but no related character(s)
1344
- # in destination encoding.
1345
- #
1346
- Encoding::Converter::UNDEF_MASK: Integer
1347
-
1348
- # <!-- rdoc-file=transcode.c -->
1349
- # Replace byte sequences that are undefined in the destination encoding.
1350
- #
1351
- Encoding::Converter::UNDEF_REPLACE: Integer
1352
-
1353
- # <!-- rdoc-file=transcode.c -->
1354
- # Decorator for converting CRLF and CR to LF
1355
- #
1356
- Encoding::Converter::UNIVERSAL_NEWLINE_DECORATOR: Integer
1357
-
1358
- # <!-- rdoc-file=transcode.c -->
1359
- # Escape as XML AttValue
1360
- #
1361
- Encoding::Converter::XML_ATTR_CONTENT_DECORATOR: Integer
1362
-
1363
- # <!-- rdoc-file=transcode.c -->
1364
- # Escape as XML AttValue
1365
- #
1366
- Encoding::Converter::XML_ATTR_QUOTE_DECORATOR: Integer
1367
-
1368
- # <!-- rdoc-file=transcode.c -->
1369
- # Escape as XML CharData
1370
- #
1371
- Encoding::Converter::XML_TEXT_DECORATOR: Integer