active_cached_resource 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (316) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/LICENSE +21 -0
  4. data/lib/active_cached_resource/caching.rb +104 -1
  5. data/lib/active_cached_resource/configuration.rb +22 -1
  6. data/lib/active_cached_resource/logger.rb +14 -0
  7. data/lib/active_cached_resource/model.rb +18 -0
  8. data/lib/active_cached_resource/version.rb +1 -8
  9. metadata +2 -308
  10. data/.rspec +0 -3
  11. data/.rubocop.yml +0 -23
  12. data/.standard.yml +0 -2
  13. data/Rakefile +0 -29
  14. data/example/consumer/.dockerignore +0 -41
  15. data/example/consumer/.gitattributes +0 -9
  16. data/example/consumer/.gitignore +0 -36
  17. data/example/consumer/.kamal/hooks/docker-setup.sample +0 -3
  18. data/example/consumer/.kamal/hooks/post-deploy.sample +0 -14
  19. data/example/consumer/.kamal/hooks/post-proxy-reboot.sample +0 -3
  20. data/example/consumer/.kamal/hooks/pre-build.sample +0 -51
  21. data/example/consumer/.kamal/hooks/pre-connect.sample +0 -47
  22. data/example/consumer/.kamal/hooks/pre-deploy.sample +0 -109
  23. data/example/consumer/.kamal/hooks/pre-proxy-reboot.sample +0 -3
  24. data/example/consumer/.kamal/secrets +0 -17
  25. data/example/consumer/Dockerfile +0 -65
  26. data/example/consumer/Gemfile +0 -17
  27. data/example/consumer/Rakefile +0 -6
  28. data/example/consumer/app/controllers/application_controller.rb +0 -2
  29. data/example/consumer/app/controllers/concerns/.keep +0 -0
  30. data/example/consumer/app/jobs/application_job.rb +0 -7
  31. data/example/consumer/app/mailers/application_mailer.rb +0 -4
  32. data/example/consumer/app/models/application_record.rb +0 -3
  33. data/example/consumer/app/models/concerns/.keep +0 -0
  34. data/example/consumer/app/models/person.rb +0 -9
  35. data/example/consumer/app/views/layouts/mailer.html.erb +0 -13
  36. data/example/consumer/app/views/layouts/mailer.text.erb +0 -1
  37. data/example/consumer/bin/brakeman +0 -7
  38. data/example/consumer/bin/bundle +0 -109
  39. data/example/consumer/bin/dev +0 -2
  40. data/example/consumer/bin/docker-entrypoint +0 -14
  41. data/example/consumer/bin/jobs +0 -6
  42. data/example/consumer/bin/kamal +0 -27
  43. data/example/consumer/bin/rails +0 -4
  44. data/example/consumer/bin/rake +0 -4
  45. data/example/consumer/bin/rubocop +0 -8
  46. data/example/consumer/bin/setup +0 -34
  47. data/example/consumer/bin/thrust +0 -5
  48. data/example/consumer/config/application.rb +0 -20
  49. data/example/consumer/config/boot.rb +0 -3
  50. data/example/consumer/config/cache.yml +0 -16
  51. data/example/consumer/config/credentials.yml.enc +0 -1
  52. data/example/consumer/config/database.yml +0 -14
  53. data/example/consumer/config/deploy.yml +0 -116
  54. data/example/consumer/config/environment.rb +0 -5
  55. data/example/consumer/config/environments/development.rb +0 -64
  56. data/example/consumer/config/environments/production.rb +0 -85
  57. data/example/consumer/config/environments/test.rb +0 -50
  58. data/example/consumer/config/initializers/cors.rb +0 -16
  59. data/example/consumer/config/initializers/filter_parameter_logging.rb +0 -8
  60. data/example/consumer/config/initializers/inflections.rb +0 -16
  61. data/example/consumer/config/locales/en.yml +0 -31
  62. data/example/consumer/config/puma.rb +0 -41
  63. data/example/consumer/config/queue.yml +0 -18
  64. data/example/consumer/config/recurring.yml +0 -10
  65. data/example/consumer/config/routes.rb +0 -10
  66. data/example/consumer/config.ru +0 -6
  67. data/example/consumer/db/cache_schema.rb +0 -14
  68. data/example/consumer/db/queue_schema.rb +0 -129
  69. data/example/consumer/db/seeds.rb +0 -0
  70. data/example/consumer/lib/tasks/.keep +0 -0
  71. data/example/consumer/log/.keep +0 -0
  72. data/example/consumer/public/robots.txt +0 -1
  73. data/example/consumer/script/.keep +0 -0
  74. data/example/consumer/storage/.keep +0 -0
  75. data/example/consumer/tmp/.keep +0 -0
  76. data/example/consumer/tmp/cache/.keep +0 -0
  77. data/example/consumer/tmp/pids/.keep +0 -0
  78. data/example/consumer/tmp/storage/.keep +0 -0
  79. data/example/consumer/vendor/.keep +0 -0
  80. data/example/provider/.dockerignore +0 -41
  81. data/example/provider/.gitattributes +0 -9
  82. data/example/provider/.gitignore +0 -32
  83. data/example/provider/.kamal/hooks/docker-setup.sample +0 -3
  84. data/example/provider/.kamal/hooks/post-deploy.sample +0 -14
  85. data/example/provider/.kamal/hooks/post-proxy-reboot.sample +0 -3
  86. data/example/provider/.kamal/hooks/pre-build.sample +0 -51
  87. data/example/provider/.kamal/hooks/pre-connect.sample +0 -47
  88. data/example/provider/.kamal/hooks/pre-deploy.sample +0 -109
  89. data/example/provider/.kamal/hooks/pre-proxy-reboot.sample +0 -3
  90. data/example/provider/.kamal/secrets +0 -17
  91. data/example/provider/Dockerfile +0 -65
  92. data/example/provider/Gemfile +0 -14
  93. data/example/provider/Rakefile +0 -6
  94. data/example/provider/app/controllers/application_controller.rb +0 -2
  95. data/example/provider/app/controllers/concerns/.keep +0 -0
  96. data/example/provider/app/controllers/people_controller.rb +0 -68
  97. data/example/provider/app/jobs/application_job.rb +0 -7
  98. data/example/provider/app/mailers/application_mailer.rb +0 -4
  99. data/example/provider/app/models/address.rb +0 -3
  100. data/example/provider/app/models/application_record.rb +0 -3
  101. data/example/provider/app/models/company.rb +0 -3
  102. data/example/provider/app/models/concerns/.keep +0 -0
  103. data/example/provider/app/models/person.rb +0 -6
  104. data/example/provider/app/views/layouts/mailer.html.erb +0 -13
  105. data/example/provider/app/views/layouts/mailer.text.erb +0 -1
  106. data/example/provider/bin/brakeman +0 -7
  107. data/example/provider/bin/bundle +0 -109
  108. data/example/provider/bin/dev +0 -2
  109. data/example/provider/bin/docker-entrypoint +0 -14
  110. data/example/provider/bin/jobs +0 -6
  111. data/example/provider/bin/kamal +0 -27
  112. data/example/provider/bin/rails +0 -4
  113. data/example/provider/bin/rake +0 -4
  114. data/example/provider/bin/rubocop +0 -8
  115. data/example/provider/bin/setup +0 -34
  116. data/example/provider/bin/thrust +0 -5
  117. data/example/provider/config/application.rb +0 -44
  118. data/example/provider/config/boot.rb +0 -3
  119. data/example/provider/config/cache.yml +0 -16
  120. data/example/provider/config/credentials.yml.enc +0 -1
  121. data/example/provider/config/database.yml +0 -20
  122. data/example/provider/config/deploy.yml +0 -116
  123. data/example/provider/config/environment.rb +0 -5
  124. data/example/provider/config/environments/development.rb +0 -64
  125. data/example/provider/config/environments/production.rb +0 -85
  126. data/example/provider/config/environments/test.rb +0 -50
  127. data/example/provider/config/initializers/cors.rb +0 -16
  128. data/example/provider/config/initializers/filter_parameter_logging.rb +0 -8
  129. data/example/provider/config/initializers/inflections.rb +0 -16
  130. data/example/provider/config/locales/en.yml +0 -31
  131. data/example/provider/config/puma.rb +0 -41
  132. data/example/provider/config/queue.yml +0 -18
  133. data/example/provider/config/recurring.yml +0 -10
  134. data/example/provider/config/routes.rb +0 -4
  135. data/example/provider/config.ru +0 -6
  136. data/example/provider/db/cache_schema.rb +0 -14
  137. data/example/provider/db/migrate/20241202183937_create_people.rb +0 -11
  138. data/example/provider/db/migrate/20241202183955_create_addresses.rb +0 -13
  139. data/example/provider/db/migrate/20241202184017_create_companies.rb +0 -14
  140. data/example/provider/db/queue_schema.rb +0 -129
  141. data/example/provider/db/schema.rb +0 -47
  142. data/example/provider/db/seeds.rb +0 -18
  143. data/example/provider/lib/tasks/.keep +0 -0
  144. data/example/provider/log/.keep +0 -0
  145. data/example/provider/public/robots.txt +0 -1
  146. data/example/provider/script/.keep +0 -0
  147. data/example/provider/storage/.keep +0 -0
  148. data/example/provider/tmp/.keep +0 -0
  149. data/example/provider/tmp/pids/.keep +0 -0
  150. data/example/provider/tmp/storage/.keep +0 -0
  151. data/example/provider/vendor/.keep +0 -0
  152. data/lib/activeresource/.gitignore +0 -15
  153. data/lib/activeresource/examples/performance.rb +0 -72
  154. data/lib/activeresource/test/abstract_unit.rb +0 -154
  155. data/lib/activeresource/test/cases/active_job_serializer_test.rb +0 -53
  156. data/lib/activeresource/test/cases/association_test.rb +0 -104
  157. data/lib/activeresource/test/cases/associations/builder/belongs_to_test.rb +0 -42
  158. data/lib/activeresource/test/cases/associations/builder/has_many_test.rb +0 -28
  159. data/lib/activeresource/test/cases/associations/builder/has_one_test.rb +0 -28
  160. data/lib/activeresource/test/cases/authorization_test.rb +0 -276
  161. data/lib/activeresource/test/cases/base/custom_methods_test.rb +0 -155
  162. data/lib/activeresource/test/cases/base/equality_test.rb +0 -53
  163. data/lib/activeresource/test/cases/base/load_test.rb +0 -249
  164. data/lib/activeresource/test/cases/base/schema_test.rb +0 -428
  165. data/lib/activeresource/test/cases/base_errors_test.rb +0 -129
  166. data/lib/activeresource/test/cases/base_test.rb +0 -1622
  167. data/lib/activeresource/test/cases/callbacks_test.rb +0 -155
  168. data/lib/activeresource/test/cases/collection_test.rb +0 -196
  169. data/lib/activeresource/test/cases/connection_test.rb +0 -357
  170. data/lib/activeresource/test/cases/finder_test.rb +0 -217
  171. data/lib/activeresource/test/cases/format_test.rb +0 -137
  172. data/lib/activeresource/test/cases/http_mock_test.rb +0 -213
  173. data/lib/activeresource/test/cases/inheritence_test.rb +0 -19
  174. data/lib/activeresource/test/cases/inheriting_hash_test.rb +0 -25
  175. data/lib/activeresource/test/cases/log_subscriber_test.rb +0 -64
  176. data/lib/activeresource/test/cases/reflection_test.rb +0 -65
  177. data/lib/activeresource/test/cases/validations_test.rb +0 -78
  178. data/lib/activeresource/test/fixtures/address.rb +0 -20
  179. data/lib/activeresource/test/fixtures/beast.rb +0 -16
  180. data/lib/activeresource/test/fixtures/comment.rb +0 -5
  181. data/lib/activeresource/test/fixtures/customer.rb +0 -5
  182. data/lib/activeresource/test/fixtures/fixtures.rbi +0 -46
  183. data/lib/activeresource/test/fixtures/inventory.rb +0 -14
  184. data/lib/activeresource/test/fixtures/person.rb +0 -15
  185. data/lib/activeresource/test/fixtures/pet.rb +0 -6
  186. data/lib/activeresource/test/fixtures/post.rb +0 -5
  187. data/lib/activeresource/test/fixtures/product.rb +0 -11
  188. data/lib/activeresource/test/fixtures/project.rb +0 -19
  189. data/lib/activeresource/test/fixtures/proxy.rb +0 -6
  190. data/lib/activeresource/test/fixtures/sound.rb +0 -11
  191. data/lib/activeresource/test/fixtures/street_address.rb +0 -6
  192. data/lib/activeresource/test/fixtures/subscription_plan.rb +0 -7
  193. data/lib/activeresource/test/fixtures/weather.rb +0 -21
  194. data/lib/activeresource/test/setter_trap.rb +0 -28
  195. data/lib/activeresource/test/singleton_test.rb +0 -138
  196. data/lib/activeresource/test/threadsafe_attributes_test.rb +0 -91
  197. data/sorbet/config +0 -6
  198. data/sorbet/rbi/annotations/.gitattributes +0 -1
  199. data/sorbet/rbi/annotations/activemodel.rbi +0 -89
  200. data/sorbet/rbi/annotations/activesupport.rbi +0 -457
  201. data/sorbet/rbi/annotations/minitest.rbi +0 -119
  202. data/sorbet/rbi/annotations/rainbow.rbi +0 -269
  203. data/sorbet/rbi/dsl/.gitattributes +0 -1
  204. data/sorbet/rbi/dsl/active_support/callbacks.rbi +0 -21
  205. data/sorbet/rbi/gems/.gitattributes +0 -1
  206. data/sorbet/rbi/gems/actioncable@8.0.1.rbi +0 -252
  207. data/sorbet/rbi/gems/actionmailbox@8.0.1.rbi +0 -9
  208. data/sorbet/rbi/gems/actionmailer@8.0.1.rbi +0 -9
  209. data/sorbet/rbi/gems/actionpack@8.0.1.rbi +0 -21111
  210. data/sorbet/rbi/gems/actiontext@8.0.1.rbi +0 -9
  211. data/sorbet/rbi/gems/actionview@8.0.1.rbi +0 -16409
  212. data/sorbet/rbi/gems/activejob@8.0.1.rbi +0 -90
  213. data/sorbet/rbi/gems/activemodel-serializers-xml@1.0.3.rbi +0 -166
  214. data/sorbet/rbi/gems/activemodel@8.0.1.rbi +0 -6865
  215. data/sorbet/rbi/gems/activerecord@8.0.1.rbi +0 -43277
  216. data/sorbet/rbi/gems/activestorage@8.0.1.rbi +0 -9
  217. data/sorbet/rbi/gems/activesupport@8.0.1.rbi +0 -21426
  218. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -585
  219. data/sorbet/rbi/gems/base64@0.2.0.rbi +0 -509
  220. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +0 -618
  221. data/sorbet/rbi/gems/bigdecimal@3.1.8.rbi +0 -78
  222. data/sorbet/rbi/gems/builder@3.3.0.rbi +0 -9
  223. data/sorbet/rbi/gems/bump@0.10.0.rbi +0 -169
  224. data/sorbet/rbi/gems/byebug@11.1.3.rbi +0 -3607
  225. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -3427
  226. data/sorbet/rbi/gems/concurrent-ruby@1.3.4.rbi +0 -11645
  227. data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +0 -9
  228. data/sorbet/rbi/gems/crass@1.0.6.rbi +0 -623
  229. data/sorbet/rbi/gems/date@3.4.1.rbi +0 -75
  230. data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +0 -1131
  231. data/sorbet/rbi/gems/docile@1.4.1.rbi +0 -377
  232. data/sorbet/rbi/gems/drb@2.2.1.rbi +0 -1347
  233. data/sorbet/rbi/gems/erubi@1.13.0.rbi +0 -150
  234. data/sorbet/rbi/gems/globalid@1.2.1.rbi +0 -9
  235. data/sorbet/rbi/gems/i18n@1.14.6.rbi +0 -2359
  236. data/sorbet/rbi/gems/io-console@0.8.0.rbi +0 -9
  237. data/sorbet/rbi/gems/json@2.9.0.rbi +0 -1944
  238. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14238
  239. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +0 -240
  240. data/sorbet/rbi/gems/logger@1.6.3.rbi +0 -940
  241. data/sorbet/rbi/gems/loofah@2.23.1.rbi +0 -1081
  242. data/sorbet/rbi/gems/mail@2.8.1.rbi +0 -9
  243. data/sorbet/rbi/gems/marcel@1.0.4.rbi +0 -9
  244. data/sorbet/rbi/gems/method_source@1.1.0.rbi +0 -304
  245. data/sorbet/rbi/gems/mini_mime@1.1.5.rbi +0 -9
  246. data/sorbet/rbi/gems/minitest@5.25.4.rbi +0 -1547
  247. data/sorbet/rbi/gems/mocha@2.7.1.rbi +0 -12
  248. data/sorbet/rbi/gems/msgpack@1.7.5.rbi +0 -320
  249. data/sorbet/rbi/gems/net-imap@0.5.2.rbi +0 -9
  250. data/sorbet/rbi/gems/net-pop@0.1.2.rbi +0 -9
  251. data/sorbet/rbi/gems/net-protocol@0.2.2.rbi +0 -292
  252. data/sorbet/rbi/gems/net-smtp@0.5.0.rbi +0 -9
  253. data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -159
  254. data/sorbet/rbi/gems/nio4r@2.7.4.rbi +0 -9
  255. data/sorbet/rbi/gems/nokogiri@1.17.2.rbi +0 -8201
  256. data/sorbet/rbi/gems/parallel@1.26.3.rbi +0 -291
  257. data/sorbet/rbi/gems/parser@3.3.6.0.rbi +0 -5519
  258. data/sorbet/rbi/gems/prism@1.2.0.rbi +0 -39085
  259. data/sorbet/rbi/gems/pry-byebug@3.10.1.rbi +0 -1151
  260. data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -10076
  261. data/sorbet/rbi/gems/psych@5.2.1.rbi +0 -1785
  262. data/sorbet/rbi/gems/racc@1.8.1.rbi +0 -162
  263. data/sorbet/rbi/gems/rack-session@2.0.0.rbi +0 -727
  264. data/sorbet/rbi/gems/rack-test@2.1.0.rbi +0 -747
  265. data/sorbet/rbi/gems/rack@3.1.8.rbi +0 -4905
  266. data/sorbet/rbi/gems/rackup@2.2.1.rbi +0 -230
  267. data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +0 -758
  268. data/sorbet/rbi/gems/rails-html-sanitizer@1.6.2.rbi +0 -785
  269. data/sorbet/rbi/gems/rails@8.0.1.rbi +0 -9
  270. data/sorbet/rbi/gems/railties@8.0.1.rbi +0 -6347
  271. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -403
  272. data/sorbet/rbi/gems/rake@13.2.1.rbi +0 -3028
  273. data/sorbet/rbi/gems/rbi@0.2.1.rbi +0 -4535
  274. data/sorbet/rbi/gems/rdoc@6.9.1.rbi +0 -12593
  275. data/sorbet/rbi/gems/regexp_parser@2.9.3.rbi +0 -3772
  276. data/sorbet/rbi/gems/reline@0.6.0.rbi +0 -2454
  277. data/sorbet/rbi/gems/rexml@3.4.0.rbi +0 -4871
  278. data/sorbet/rbi/gems/rspec-core@3.13.2.rbi +0 -11284
  279. data/sorbet/rbi/gems/rspec-expectations@3.13.3.rbi +0 -8183
  280. data/sorbet/rbi/gems/rspec-mocks@3.13.2.rbi +0 -5341
  281. data/sorbet/rbi/gems/rspec-support@3.13.2.rbi +0 -1630
  282. data/sorbet/rbi/gems/rspec@3.13.0.rbi +0 -83
  283. data/sorbet/rbi/gems/rubocop-ast@1.37.0.rbi +0 -7713
  284. data/sorbet/rbi/gems/rubocop-md@1.2.4.rbi +0 -123
  285. data/sorbet/rbi/gems/rubocop-minitest@0.36.0.rbi +0 -2613
  286. data/sorbet/rbi/gems/rubocop-packaging@0.5.2.rbi +0 -388
  287. data/sorbet/rbi/gems/rubocop-performance@1.23.0.rbi +0 -9
  288. data/sorbet/rbi/gems/rubocop-rails@2.27.0.rbi +0 -9535
  289. data/sorbet/rbi/gems/rubocop@1.69.2.rbi +0 -59600
  290. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +0 -1318
  291. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +0 -9
  292. data/sorbet/rbi/gems/securerandom@0.4.1.rbi +0 -78
  293. data/sorbet/rbi/gems/simplecov-html@0.13.1.rbi +0 -225
  294. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +0 -2149
  295. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +0 -9
  296. data/sorbet/rbi/gems/spoom@1.5.0.rbi +0 -4932
  297. data/sorbet/rbi/gems/sqlite3@2.3.1.rbi +0 -1824
  298. data/sorbet/rbi/gems/standard-custom@1.0.2.rbi +0 -9
  299. data/sorbet/rbi/gems/standard-performance@1.6.0.rbi +0 -9
  300. data/sorbet/rbi/gems/standard@1.43.0.rbi +0 -926
  301. data/sorbet/rbi/gems/stringio@3.1.2.rbi +0 -9
  302. data/sorbet/rbi/gems/tapioca@0.16.4.rbi +0 -3597
  303. data/sorbet/rbi/gems/thor@1.3.2.rbi +0 -4378
  304. data/sorbet/rbi/gems/timeout@0.4.2.rbi +0 -151
  305. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +0 -5918
  306. data/sorbet/rbi/gems/unicode-display_width@3.1.2.rbi +0 -130
  307. data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +0 -251
  308. data/sorbet/rbi/gems/uri@1.0.2.rbi +0 -2377
  309. data/sorbet/rbi/gems/useragent@0.16.11.rbi +0 -9
  310. data/sorbet/rbi/gems/websocket-driver@0.7.6.rbi +0 -9
  311. data/sorbet/rbi/gems/websocket-extensions@0.1.5.rbi +0 -9
  312. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +0 -435
  313. data/sorbet/rbi/gems/yard@0.9.37.rbi +0 -18504
  314. data/sorbet/rbi/gems/zeitwerk@2.7.1.rbi +0 -9
  315. data/sorbet/tapioca/config.yml +0 -13
  316. data/sorbet/tapioca/require.rb +0 -13
@@ -1,2454 +0,0 @@
1
- # typed: false
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `reline` gem.
5
- # Please instead update this file by running `bin/tapioca gem reline`.
6
-
7
-
8
- # source://reline//lib/reline/version.rb#1
9
- module Reline
10
- extend ::Forwardable
11
- extend ::SingleForwardable
12
-
13
- class << self
14
- # source://reline//lib/reline.rb#486
15
- def core; end
16
-
17
- # source://reline//lib/reline.rb#482
18
- def encoding_system_needs; end
19
-
20
- # source://reline//lib/reline.rb#463
21
- def insert_text(text); end
22
-
23
- # source://reline//lib/reline.rb#506
24
- def line_editor; end
25
-
26
- # source://reline//lib/reline.rb#502
27
- def ungetc(c); end
28
- end
29
- end
30
-
31
- # source://reline//lib/reline/io/ansi.rb#4
32
- class Reline::ANSI < ::Reline::IO
33
- # @return [ANSI] a new instance of ANSI
34
- #
35
- # source://reline//lib/reline/io/ansi.rb#34
36
- def initialize; end
37
-
38
- # @return [Boolean]
39
- #
40
- # source://reline//lib/reline/io/ansi.rb#232
41
- def both_tty?; end
42
-
43
- # source://reline//lib/reline/io/ansi.rb#244
44
- def buffered_output; end
45
-
46
- # source://reline//lib/reline/io/ansi.rb#292
47
- def clear_screen; end
48
-
49
- # source://reline//lib/reline/io/ansi.rb#227
50
- def cursor_pos; end
51
-
52
- # source://reline//lib/reline/io/ansi.rb#319
53
- def deprep(otio); end
54
-
55
- # @return [Boolean]
56
- #
57
- # source://reline//lib/reline/io/ansi.rb#167
58
- def empty_buffer?; end
59
-
60
- # source://reline//lib/reline/io/ansi.rb#42
61
- def encoding; end
62
-
63
- # source://reline//lib/reline/io/ansi.rb#280
64
- def erase_after_cursor; end
65
-
66
- # source://reline//lib/reline/io/ansi.rb#189
67
- def get_screen_size; end
68
-
69
- # if the usage expects to wait indefinitely, use Float::INFINITY for timeout_second
70
- #
71
- # source://reline//lib/reline/io/ansi.rb#159
72
- def getc(timeout_second); end
73
-
74
- # source://reline//lib/reline/io/ansi.rb#272
75
- def hide_cursor; end
76
-
77
- # @return [Boolean]
78
- #
79
- # source://reline//lib/reline/io/ansi.rb#163
80
- def in_pasting?; end
81
-
82
- # source://reline//lib/reline/io/ansi.rb#128
83
- def inner_getc(timeout_second); end
84
-
85
- # Sets the attribute input
86
- #
87
- # @param value the value to set the attribute input to.
88
- #
89
- # source://reline//lib/reline/io/ansi.rb#32
90
- def input=(_arg0); end
91
-
92
- # source://reline//lib/reline/io/ansi.rb#252
93
- def move_cursor_column(x); end
94
-
95
- # source://reline//lib/reline/io/ansi.rb#264
96
- def move_cursor_down(x); end
97
-
98
- # source://reline//lib/reline/io/ansi.rb#256
99
- def move_cursor_up(x); end
100
-
101
- # Sets the attribute output
102
- #
103
- # @param value the value to set the attribute output to.
104
- #
105
- # source://reline//lib/reline/io/ansi.rb#32
106
- def output=(_arg0); end
107
-
108
- # source://reline//lib/reline/io/ansi.rb#312
109
- def prep; end
110
-
111
- # source://reline//lib/reline/io/ansi.rb#147
112
- def read_bracketed_paste; end
113
-
114
- # source://reline//lib/reline/io/ansi.rb#178
115
- def retrieve_keybuffer; end
116
-
117
- # This only works when the cursor is at the bottom of the scroll range
118
- # For more details, see https://github.com/ruby/reline/pull/577#issuecomment-1646679623
119
- #
120
- # source://reline//lib/reline/io/ansi.rb#286
121
- def scroll_down(x); end
122
-
123
- # source://reline//lib/reline/io/ansi.rb#68
124
- def set_bracketed_paste_key_bindings(config); end
125
-
126
- # source://reline//lib/reline/io/ansi.rb#49
127
- def set_default_key_bindings(config); end
128
-
129
- # source://reline//lib/reline/io/ansi.rb#74
130
- def set_default_key_bindings_ansi_cursor(config); end
131
-
132
- # source://reline//lib/reline/io/ansi.rb#99
133
- def set_default_key_bindings_comprehensive_list(config); end
134
-
135
- # source://reline//lib/reline/io/ansi.rb#199
136
- def set_screen_size(rows, columns); end
137
-
138
- # source://reline//lib/reline/io/ansi.rb#297
139
- def set_winch_handler(&handler); end
140
-
141
- # source://reline//lib/reline/io/ansi.rb#276
142
- def show_cursor; end
143
-
144
- # source://reline//lib/reline/io/ansi.rb#174
145
- def ungetc(c); end
146
-
147
- # source://reline//lib/reline/io/ansi.rb#120
148
- def with_raw_input; end
149
-
150
- # source://reline//lib/reline/io/ansi.rb#236
151
- def write(string); end
152
-
153
- private
154
-
155
- # source://reline//lib/reline/io/ansi.rb#206
156
- def cursor_pos_internal(timeout:); end
157
- end
158
-
159
- # source://reline//lib/reline/io/ansi.rb#17
160
- Reline::ANSI::ANSI_CURSOR_KEY_BINDINGS = T.let(T.unsafe(nil), Hash)
161
-
162
- # source://reline//lib/reline/io/ansi.rb#5
163
- Reline::ANSI::CAPNAME_KEY_BINDINGS = T.let(T.unsafe(nil), Hash)
164
-
165
- # source://reline//lib/reline/io/ansi.rb#146
166
- Reline::ANSI::END_BRACKETED_PASTE = T.let(T.unsafe(nil), String)
167
-
168
- # source://reline//lib/reline/io/ansi.rb#145
169
- Reline::ANSI::START_BRACKETED_PASTE = T.let(T.unsafe(nil), String)
170
-
171
- # source://reline//lib/reline/config.rb#1
172
- class Reline::Config
173
- # @return [Config] a new instance of Config
174
- #
175
- # source://reline//lib/reline/config.rb#31
176
- def initialize; end
177
-
178
- # source://reline//lib/reline/config.rb#162
179
- def add_default_key_binding(keystroke, target); end
180
-
181
- # source://reline//lib/reline/config.rb#158
182
- def add_default_key_binding_by_keymap(keymap, keystroke, target); end
183
-
184
- # source://reline//lib/reline/config.rb#147
185
- def add_oneshot_key_binding(keystroke, target); end
186
-
187
- # Returns the value of attribute autocompletion.
188
- #
189
- # source://reline//lib/reline/config.rb#29
190
- def autocompletion; end
191
-
192
- # Sets the attribute autocompletion
193
- #
194
- # @param value the value to set the attribute autocompletion to.
195
- #
196
- # source://reline//lib/reline/config.rb#29
197
- def autocompletion=(_arg0); end
198
-
199
- # source://reline//lib/reline/config.rb#314
200
- def bind_key(key, value); end
201
-
202
- # source://reline//lib/reline/config.rb#247
203
- def bind_variable(name, value, raw_value); end
204
-
205
- # source://reline//lib/reline/config.rb#26
206
- def completion_ignore_case; end
207
-
208
- # source://reline//lib/reline/config.rb#26
209
- def completion_ignore_case=(_arg0); end
210
-
211
- # source://reline//lib/reline/config.rb#26
212
- def convert_meta; end
213
-
214
- # source://reline//lib/reline/config.rb#26
215
- def convert_meta=(_arg0); end
216
-
217
- # source://reline//lib/reline/config.rb#26
218
- def disable_completion; end
219
-
220
- # source://reline//lib/reline/config.rb#26
221
- def disable_completion=(_arg0); end
222
-
223
- # source://reline//lib/reline/config.rb#72
224
- def editing_mode; end
225
-
226
- # source://reline//lib/reline/config.rb#76
227
- def editing_mode=(val); end
228
-
229
- # @return [Boolean]
230
- #
231
- # source://reline//lib/reline/config.rb#80
232
- def editing_mode_is?(*val); end
233
-
234
- # source://reline//lib/reline/config.rb#26
235
- def emacs_mode_string; end
236
-
237
- # source://reline//lib/reline/config.rb#26
238
- def emacs_mode_string=(_arg0); end
239
-
240
- # source://reline//lib/reline/config.rb#26
241
- def enable_bracketed_paste; end
242
-
243
- # source://reline//lib/reline/config.rb#26
244
- def enable_bracketed_paste=(_arg0); end
245
-
246
- # source://reline//lib/reline/config.rb#212
247
- def handle_directive(directive, file, no, if_stack); end
248
-
249
- # source://reline//lib/reline/config.rb#26
250
- def history_size; end
251
-
252
- # source://reline//lib/reline/config.rb#26
253
- def history_size=(_arg0); end
254
-
255
- # source://reline//lib/reline/config.rb#92
256
- def inputrc_path; end
257
-
258
- # source://reline//lib/reline/config.rb#26
259
- def isearch_terminators; end
260
-
261
- # source://reline//lib/reline/config.rb#26
262
- def isearch_terminators=(_arg0); end
263
-
264
- # source://reline//lib/reline/config.rb#142
265
- def key_bindings; end
266
-
267
- # source://reline//lib/reline/config.rb#333
268
- def key_notation_to_code(notation); end
269
-
270
- # source://reline//lib/reline/config.rb#84
271
- def keymap; end
272
-
273
- # source://reline//lib/reline/config.rb#26
274
- def keyseq_timeout; end
275
-
276
- # source://reline//lib/reline/config.rb#26
277
- def keyseq_timeout=(_arg0); end
278
-
279
- # @return [Boolean]
280
- #
281
- # source://reline//lib/reline/config.rb#88
282
- def loaded?; end
283
-
284
- # source://reline//lib/reline/config.rb#319
285
- def parse_key_binding(key, func_name); end
286
-
287
- # source://reline//lib/reline/config.rb#359
288
- def parse_keyseq(str); end
289
-
290
- # source://reline//lib/reline/config.rb#122
291
- def read(file = T.unsafe(nil)); end
292
-
293
- # source://reline//lib/reline/config.rb#166
294
- def read_lines(lines, file = T.unsafe(nil)); end
295
-
296
- # source://reline//lib/reline/config.rb#365
297
- def reload; end
298
-
299
- # source://reline//lib/reline/config.rb#35
300
- def reset; end
301
-
302
- # source://reline//lib/reline/config.rb#154
303
- def reset_oneshot_key_bindings; end
304
-
305
- # source://reline//lib/reline/config.rb#42
306
- def reset_variables; end
307
-
308
- # source://reline//lib/reline/config.rb#309
309
- def retrieve_string(str); end
310
-
311
- # source://reline//lib/reline/config.rb#26
312
- def show_all_if_ambiguous; end
313
-
314
- # source://reline//lib/reline/config.rb#26
315
- def show_all_if_ambiguous=(_arg0); end
316
-
317
- # source://reline//lib/reline/config.rb#26
318
- def show_mode_in_prompt; end
319
-
320
- # source://reline//lib/reline/config.rb#26
321
- def show_mode_in_prompt=(_arg0); end
322
-
323
- # Returns the value of attribute test_mode.
324
- #
325
- # source://reline//lib/reline/config.rb#2
326
- def test_mode; end
327
-
328
- # source://reline//lib/reline/config.rb#26
329
- def vi_cmd_mode_string; end
330
-
331
- # source://reline//lib/reline/config.rb#26
332
- def vi_cmd_mode_string=(_arg0); end
333
-
334
- # source://reline//lib/reline/config.rb#26
335
- def vi_ins_mode_string; end
336
-
337
- # source://reline//lib/reline/config.rb#26
338
- def vi_ins_mode_string=(_arg0); end
339
-
340
- private
341
-
342
- # source://reline//lib/reline/config.rb#118
343
- def default_inputrc_path; end
344
-
345
- # @return [Boolean]
346
- #
347
- # source://reline//lib/reline/config.rb#370
348
- def seven_bit_encoding?(encoding); end
349
- end
350
-
351
- # source://reline//lib/reline/config.rb#6
352
- class Reline::Config::InvalidInputrc < ::RuntimeError
353
- # Returns the value of attribute file.
354
- #
355
- # source://reline//lib/reline/config.rb#7
356
- def file; end
357
-
358
- # Sets the attribute file
359
- #
360
- # @param value the value to set the attribute file to.
361
- #
362
- # source://reline//lib/reline/config.rb#7
363
- def file=(_arg0); end
364
-
365
- # Returns the value of attribute lineno.
366
- #
367
- # source://reline//lib/reline/config.rb#7
368
- def lineno; end
369
-
370
- # Sets the attribute lineno
371
- #
372
- # @param value the value to set the attribute lineno to.
373
- #
374
- # source://reline//lib/reline/config.rb#7
375
- def lineno=(_arg0); end
376
- end
377
-
378
- # source://reline//lib/reline/config.rb#4
379
- Reline::Config::KEYSEQ_PATTERN = T.let(T.unsafe(nil), Regexp)
380
-
381
- # source://reline//lib/reline/config.rb#10
382
- Reline::Config::VARIABLE_NAMES = T.let(T.unsafe(nil), Array)
383
-
384
- # source://reline//lib/reline/config.rb#24
385
- Reline::Config::VARIABLE_NAME_SYMBOLS = T.let(T.unsafe(nil), Array)
386
-
387
- # source://reline//lib/reline.rb#40
388
- class Reline::Core
389
- extend ::Forwardable
390
-
391
- # @return [Core] a new instance of Core
392
- # @yield [_self]
393
- # @yieldparam _self [Reline::Core] the object that the method was called on
394
- #
395
- # source://reline//lib/reline.rb#68
396
- def initialize; end
397
-
398
- # @raise [ArgumentError]
399
- #
400
- # source://reline//lib/reline.rb#162
401
- def add_dialog_proc(name_sym, p, context = T.unsafe(nil)); end
402
-
403
- # source://reline//lib/reline.rb#409
404
- def ambiguous_width; end
405
-
406
- # source://reline//lib/reline.rb#55
407
- def auto_indent_proc; end
408
-
409
- # @raise [ArgumentError]
410
- #
411
- # source://reline//lib/reline.rb#147
412
- def auto_indent_proc=(p); end
413
-
414
- # source://reline//lib/reline.rb#55
415
- def basic_quote_characters; end
416
-
417
- # source://reline//lib/reline.rb#104
418
- def basic_quote_characters=(v); end
419
-
420
- # source://reline//lib/reline.rb#55
421
- def basic_word_break_characters; end
422
-
423
- # source://reline//lib/reline.rb#96
424
- def basic_word_break_characters=(v); end
425
-
426
- # source://reline//lib/reline.rb#55
427
- def completer_quote_characters; end
428
-
429
- # source://reline//lib/reline.rb#108
430
- def completer_quote_characters=(v); end
431
-
432
- # source://reline//lib/reline.rb#55
433
- def completer_word_break_characters; end
434
-
435
- # source://reline//lib/reline.rb#100
436
- def completer_word_break_characters=(v); end
437
-
438
- # source://reline//lib/reline.rb#55
439
- def completion_append_character; end
440
-
441
- # source://reline//lib/reline.rb#84
442
- def completion_append_character=(val); end
443
-
444
- # source://reline//lib/reline.rb#124
445
- def completion_case_fold; end
446
-
447
- # source://reline//lib/reline.rb#120
448
- def completion_case_fold=(v); end
449
-
450
- # source://reline//lib/reline.rb#55
451
- def completion_proc; end
452
-
453
- # @raise [ArgumentError]
454
- #
455
- # source://reline//lib/reline.rb#132
456
- def completion_proc=(p); end
457
-
458
- # source://reline//lib/reline.rb#128
459
- def completion_quote_character; end
460
-
461
- # Returns the value of attribute config.
462
- #
463
- # source://reline//lib/reline.rb#57
464
- def config; end
465
-
466
- # Sets the attribute config
467
- #
468
- # @param value the value to set the attribute config to.
469
- #
470
- # source://reline//lib/reline.rb#57
471
- def config=(_arg0); end
472
-
473
- # source://reline//lib/reline.rb#172
474
- def dialog_proc(name_sym); end
475
-
476
- # source://reline//lib/reline.rb#55
477
- def dig_perfect_match_proc; end
478
-
479
- # @raise [ArgumentError]
480
- #
481
- # source://reline//lib/reline.rb#156
482
- def dig_perfect_match_proc=(p); end
483
-
484
- # source://reline//lib/reline.rb#194
485
- def emacs_editing_mode; end
486
-
487
- # @return [Boolean]
488
- #
489
- # source://reline//lib/reline.rb#203
490
- def emacs_editing_mode?; end
491
-
492
- # source://reline//lib/reline.rb#80
493
- def encoding; end
494
-
495
- # source://reline//lib/reline.rb#55
496
- def filename_quote_characters; end
497
-
498
- # source://reline//lib/reline.rb#112
499
- def filename_quote_characters=(v); end
500
-
501
- # source://reline//lib/reline.rb#207
502
- def get_screen_size; end
503
-
504
- # @raise [TypeError]
505
- #
506
- # source://reline//lib/reline.rb#176
507
- def input=(val); end
508
-
509
- # source://reline//lib/reline.rb#76
510
- def io_gate; end
511
-
512
- # Returns the value of attribute key_stroke.
513
- #
514
- # source://reline//lib/reline.rb#58
515
- def key_stroke; end
516
-
517
- # Sets the attribute key_stroke
518
- #
519
- # @param value the value to set the attribute key_stroke to.
520
- #
521
- # source://reline//lib/reline.rb#58
522
- def key_stroke=(_arg0); end
523
-
524
- # Returns the value of attribute last_incremental_search.
525
- #
526
- # source://reline//lib/reline.rb#60
527
- def last_incremental_search; end
528
-
529
- # Sets the attribute last_incremental_search
530
- #
531
- # @param value the value to set the attribute last_incremental_search to.
532
- #
533
- # source://reline//lib/reline.rb#60
534
- def last_incremental_search=(_arg0); end
535
-
536
- # Returns the value of attribute line_editor.
537
- #
538
- # source://reline//lib/reline.rb#59
539
- def line_editor; end
540
-
541
- # Sets the attribute line_editor
542
- #
543
- # @param value the value to set the attribute line_editor to.
544
- #
545
- # source://reline//lib/reline.rb#59
546
- def line_editor=(_arg0); end
547
-
548
- # Returns the value of attribute output.
549
- #
550
- # source://reline//lib/reline.rb#61
551
- def output; end
552
-
553
- # @raise [TypeError]
554
- #
555
- # source://reline//lib/reline.rb#183
556
- def output=(val); end
557
-
558
- # source://reline//lib/reline.rb#55
559
- def output_modifier_proc; end
560
-
561
- # @raise [ArgumentError]
562
- #
563
- # source://reline//lib/reline.rb#137
564
- def output_modifier_proc=(p); end
565
-
566
- # source://reline//lib/reline.rb#55
567
- def pre_input_hook; end
568
-
569
- # source://reline//lib/reline.rb#152
570
- def pre_input_hook=(p); end
571
-
572
- # source://reline//lib/reline.rb#55
573
- def prompt_proc; end
574
-
575
- # @raise [ArgumentError]
576
- #
577
- # source://reline//lib/reline.rb#142
578
- def prompt_proc=(p); end
579
-
580
- # source://reline//lib/reline.rb#276
581
- def readline(prompt = T.unsafe(nil), add_hist = T.unsafe(nil)); end
582
-
583
- # source://reline//lib/reline.rb#250
584
- def readmultiline(prompt = T.unsafe(nil), add_hist = T.unsafe(nil), &confirm_multiline_termination); end
585
-
586
- # source://reline//lib/reline.rb#55
587
- def special_prefixes; end
588
-
589
- # source://reline//lib/reline.rb#116
590
- def special_prefixes=(v); end
591
-
592
- # source://reline//lib/reline.rb#189
593
- def vi_editing_mode; end
594
-
595
- # @return [Boolean]
596
- #
597
- # source://reline//lib/reline.rb#199
598
- def vi_editing_mode?; end
599
-
600
- private
601
-
602
- # source://reline//lib/reline.rb#293
603
- def inner_readline(prompt, add_hist, multiline, &confirm_multiline_termination); end
604
-
605
- # source://reline//lib/reline.rb#414
606
- def may_req_ambiguous_char_width; end
607
-
608
- # GNU Readline watis for "keyseq-timeout" milliseconds when the input is
609
- # ambiguous whether it is matching or matched.
610
- # If the next character does not arrive within the specified timeout, input
611
- # is considered as matched.
612
- # `ESC` is ambiguous because it can be a standalone ESC (matched) or part of
613
- # `ESC char` or part of CSI sequence (matching).
614
- #
615
- # source://reline//lib/reline.rb#379
616
- def read_io(keyseq_timeout, &block); end
617
- end
618
-
619
- # source://reline//lib/reline.rb#41
620
- Reline::Core::ATTR_READER_NAMES = T.let(T.unsafe(nil), Array)
621
-
622
- # source://reline//lib/reline.rb#248
623
- Reline::DEFAULT_DIALOG_CONTEXT = T.let(T.unsafe(nil), Array)
624
-
625
- # source://reline//lib/reline.rb#211
626
- Reline::DEFAULT_DIALOG_PROC_AUTOCOMPLETE = T.let(T.unsafe(nil), Proc)
627
-
628
- # source://reline//lib/reline/io/dumb.rb#3
629
- class Reline::Dumb < ::Reline::IO
630
- # @return [Dumb] a new instance of Dumb
631
- #
632
- # source://reline//lib/reline/io/dumb.rb#8
633
- def initialize(encoding: T.unsafe(nil)); end
634
-
635
- # source://reline//lib/reline/io/dumb.rb#49
636
- def buffered_output; end
637
-
638
- # source://reline//lib/reline/io/dumb.rb#101
639
- def clear_screen; end
640
-
641
- # source://reline//lib/reline/io/dumb.rb#76
642
- def cursor_pos; end
643
-
644
- # source://reline//lib/reline/io/dumb.rb#118
645
- def deprep(otio); end
646
-
647
- # @return [Boolean]
648
- #
649
- # source://reline//lib/reline/io/dumb.rb#17
650
- def dumb?; end
651
-
652
- # source://reline//lib/reline/io/dumb.rb#21
653
- def encoding; end
654
-
655
- # source://reline//lib/reline/io/dumb.rb#95
656
- def erase_after_cursor; end
657
-
658
- # source://reline//lib/reline/io/dumb.rb#72
659
- def get_screen_size; end
660
-
661
- # source://reline//lib/reline/io/dumb.rb#53
662
- def getc(_timeout_second); end
663
-
664
- # source://reline//lib/reline/io/dumb.rb#80
665
- def hide_cursor; end
666
-
667
- # @return [Boolean]
668
- #
669
- # source://reline//lib/reline/io/dumb.rb#111
670
- def in_pasting?; end
671
-
672
- # source://reline//lib/reline/io/dumb.rb#37
673
- def input=(val); end
674
-
675
- # source://reline//lib/reline/io/dumb.rb#86
676
- def move_cursor_column(val); end
677
-
678
- # source://reline//lib/reline/io/dumb.rb#92
679
- def move_cursor_down(val); end
680
-
681
- # source://reline//lib/reline/io/dumb.rb#89
682
- def move_cursor_up(val); end
683
-
684
- # Sets the attribute output
685
- #
686
- # @param value the value to set the attribute output to.
687
- #
688
- # source://reline//lib/reline/io/dumb.rb#6
689
- def output=(_arg0); end
690
-
691
- # source://reline//lib/reline/io/dumb.rb#115
692
- def prep; end
693
-
694
- # source://reline//lib/reline/io/dumb.rb#98
695
- def scroll_down(val); end
696
-
697
- # source://reline//lib/reline/io/dumb.rb#34
698
- def set_default_key_bindings(_); end
699
-
700
- # source://reline//lib/reline/io/dumb.rb#104
701
- def set_screen_size(rows, columns); end
702
-
703
- # source://reline//lib/reline/io/dumb.rb#108
704
- def set_winch_handler(&handler); end
705
-
706
- # source://reline//lib/reline/io/dumb.rb#83
707
- def show_cursor; end
708
-
709
- # source://reline//lib/reline/io/dumb.rb#68
710
- def ungetc(c); end
711
-
712
- # source://reline//lib/reline/io/dumb.rb#41
713
- def with_raw_input; end
714
-
715
- # source://reline//lib/reline/io/dumb.rb#45
716
- def write(string); end
717
- end
718
-
719
- # Do not send color reset sequence
720
- #
721
- # source://reline//lib/reline/io/dumb.rb#4
722
- Reline::Dumb::RESET_COLOR = T.let(T.unsafe(nil), String)
723
-
724
- # NOTE: For making compatible with the rb-readline gem
725
- #
726
- # source://reline//lib/reline.rb#15
727
- Reline::FILENAME_COMPLETION_PROC = T.let(T.unsafe(nil), T.untyped)
728
-
729
- # source://reline//lib/reline/face.rb#3
730
- class Reline::Face
731
- class << self
732
- # source://reline//lib/reline/face.rb#169
733
- def [](name); end
734
-
735
- # source://reline//lib/reline/face.rb#173
736
- def config(name, &block); end
737
-
738
- # source://reline//lib/reline/face.rb#178
739
- def configs; end
740
-
741
- # source://reline//lib/reline/face.rb#164
742
- def force_truecolor; end
743
-
744
- # source://reline//lib/reline/face.rb#182
745
- def load_initial_configs; end
746
-
747
- # source://reline//lib/reline/face.rb#195
748
- def reset_to_initial_configs; end
749
-
750
- # @return [Boolean]
751
- #
752
- # source://reline//lib/reline/face.rb#160
753
- def truecolor?; end
754
- end
755
- end
756
-
757
- # source://reline//lib/reline/face.rb#58
758
- class Reline::Face::Config
759
- # @return [Config] a new instance of Config
760
- #
761
- # source://reline//lib/reline/face.rb#62
762
- def initialize(name, &block); end
763
-
764
- # source://reline//lib/reline/face.rb#84
765
- def [](name); end
766
-
767
- # source://reline//lib/reline/face.rb#72
768
- def define(name, **values); end
769
-
770
- # Returns the value of attribute definition.
771
- #
772
- # source://reline//lib/reline/face.rb#70
773
- def definition; end
774
-
775
- # source://reline//lib/reline/face.rb#77
776
- def reconfigure; end
777
-
778
- private
779
-
780
- # source://reline//lib/reline/face.rb#126
781
- def format_to_sgr(ordered_values); end
782
-
783
- # @return [Boolean]
784
- #
785
- # source://reline//lib/reline/face.rb#153
786
- def rgb_expression?(color); end
787
-
788
- # source://reline//lib/reline/face.rb#90
789
- def sgr_rgb(key, value); end
790
-
791
- # source://reline//lib/reline/face.rb#108
792
- def sgr_rgb_256color(key, value); end
793
-
794
- # source://reline//lib/reline/face.rb#99
795
- def sgr_rgb_truecolor(key, value); end
796
- end
797
-
798
- # source://reline//lib/reline/face.rb#59
799
- Reline::Face::Config::ESSENTIAL_DEFINE_NAMES = T.let(T.unsafe(nil), Array)
800
-
801
- # source://reline//lib/reline/face.rb#60
802
- Reline::Face::Config::RESET_SGR = T.let(T.unsafe(nil), String)
803
-
804
- # source://reline//lib/reline/face.rb#4
805
- Reline::Face::SGR_PARAMETERS = T.let(T.unsafe(nil), Hash)
806
-
807
- # source://reline//lib/reline.rb#519
808
- Reline::HISTORY = T.let(T.unsafe(nil), Reline::History)
809
-
810
- # source://reline//lib/reline/history.rb#1
811
- class Reline::History < ::Array
812
- # @return [History] a new instance of History
813
- #
814
- # source://reline//lib/reline/history.rb#2
815
- def initialize(config); end
816
-
817
- # source://reline//lib/reline/history.rb#52
818
- def <<(val); end
819
-
820
- # source://reline//lib/reline/history.rb#15
821
- def [](index); end
822
-
823
- # source://reline//lib/reline/history.rb#20
824
- def []=(index, val); end
825
-
826
- # source://reline//lib/reline/history.rb#25
827
- def concat(*val); end
828
-
829
- # source://reline//lib/reline/history.rb#10
830
- def delete_at(index); end
831
-
832
- # source://reline//lib/reline/history.rb#31
833
- def push(*val); end
834
-
835
- # source://reline//lib/reline/history.rb#6
836
- def to_s; end
837
-
838
- private
839
-
840
- # @raise [IndexError]
841
- #
842
- # source://reline//lib/reline/history.rb#62
843
- def check_index(index); end
844
- end
845
-
846
- # source://reline//lib/reline/io.rb#3
847
- class Reline::IO
848
- # @return [Boolean]
849
- #
850
- # source://reline//lib/reline/io.rb#27
851
- def dumb?; end
852
-
853
- # Read a single encoding valid character from the input.
854
- #
855
- # source://reline//lib/reline/io.rb#40
856
- def read_single_char(keyseq_timeout); end
857
-
858
- # source://reline//lib/reline/io.rb#35
859
- def reset_color_sequence; end
860
-
861
- # @return [Boolean]
862
- #
863
- # source://reline//lib/reline/io.rb#31
864
- def win?; end
865
-
866
- class << self
867
- # source://reline//lib/reline/io.rb#6
868
- def decide_io_gate; end
869
- end
870
- end
871
-
872
- # source://reline//lib/reline/io.rb#4
873
- Reline::IO::RESET_COLOR = T.let(T.unsafe(nil), String)
874
-
875
- # source://reline//lib/reline.rb#512
876
- Reline::IOGate = T.let(T.unsafe(nil), Reline::ANSI)
877
-
878
- # EOF key: { char: nil, method_symbol: nil }
879
- # Other key: { char: String, method_symbol: Symbol }
880
- #
881
- # source://reline//lib/reline.rb#22
882
- class Reline::Key < ::Struct
883
- # Returns the value of attribute char
884
- #
885
- # @return [Object] the current value of char
886
- def char; end
887
-
888
- # Sets the attribute char
889
- #
890
- # @param value [Object] the value to set the attribute char to.
891
- # @return [Object] the newly set value
892
- def char=(_); end
893
-
894
- # For dialog_proc `key.match?(dialog.name)`
895
- #
896
- # @return [Boolean]
897
- #
898
- # source://reline//lib/reline.rb#24
899
- def match?(sym); end
900
-
901
- # Returns the value of attribute method_symbol
902
- #
903
- # @return [Object] the current value of method_symbol
904
- def method_symbol; end
905
-
906
- # Sets the attribute method_symbol
907
- #
908
- # @param value [Object] the value to set the attribute method_symbol to.
909
- # @return [Object] the newly set value
910
- def method_symbol=(_); end
911
-
912
- # Returns the value of attribute unused_boolean
913
- #
914
- # @return [Object] the current value of unused_boolean
915
- def unused_boolean; end
916
-
917
- # Sets the attribute unused_boolean
918
- #
919
- # @param value [Object] the value to set the attribute unused_boolean to.
920
- # @return [Object] the newly set value
921
- def unused_boolean=(_); end
922
-
923
- class << self
924
- def [](*_arg0); end
925
- def inspect; end
926
- def keyword_init?; end
927
- def members; end
928
- def new(*_arg0); end
929
- end
930
- end
931
-
932
- # source://reline//lib/reline/key_actor/base.rb#1
933
- class Reline::KeyActor::Base
934
- # @return [Base] a new instance of Base
935
- #
936
- # source://reline//lib/reline/key_actor/base.rb#2
937
- def initialize(mappings = T.unsafe(nil)); end
938
-
939
- # source://reline//lib/reline/key_actor/base.rb#18
940
- def add(key, func); end
941
-
942
- # source://reline//lib/reline/key_actor/base.rb#8
943
- def add_mappings(mappings); end
944
-
945
- # source://reline//lib/reline/key_actor/base.rb#33
946
- def clear; end
947
-
948
- # source://reline//lib/reline/key_actor/base.rb#29
949
- def get(key); end
950
-
951
- # @return [Boolean]
952
- #
953
- # source://reline//lib/reline/key_actor/base.rb#25
954
- def matching?(key); end
955
- end
956
-
957
- # source://reline//lib/reline/key_actor/composite.rb#1
958
- class Reline::KeyActor::Composite
959
- # @return [Composite] a new instance of Composite
960
- #
961
- # source://reline//lib/reline/key_actor/composite.rb#2
962
- def initialize(key_actors); end
963
-
964
- # source://reline//lib/reline/key_actor/composite.rb#10
965
- def get(key); end
966
-
967
- # @return [Boolean]
968
- #
969
- # source://reline//lib/reline/key_actor/composite.rb#6
970
- def matching?(key); end
971
- end
972
-
973
- # source://reline//lib/reline/key_actor/emacs.rb#2
974
- Reline::KeyActor::EMACS_MAPPING = T.let(T.unsafe(nil), Array)
975
-
976
- # source://reline//lib/reline/key_actor/vi_command.rb#2
977
- Reline::KeyActor::VI_COMMAND_MAPPING = T.let(T.unsafe(nil), Array)
978
-
979
- # source://reline//lib/reline/key_actor/vi_insert.rb#2
980
- Reline::KeyActor::VI_INSERT_MAPPING = T.let(T.unsafe(nil), Array)
981
-
982
- # source://reline//lib/reline/key_stroke.rb#1
983
- class Reline::KeyStroke
984
- # @return [KeyStroke] a new instance of KeyStroke
985
- #
986
- # source://reline//lib/reline/key_stroke.rb#8
987
- def initialize(config, encoding); end
988
-
989
- # Returns the value of attribute encoding.
990
- #
991
- # source://reline//lib/reline/key_stroke.rb#6
992
- def encoding; end
993
-
994
- # Sets the attribute encoding
995
- #
996
- # @param value the value to set the attribute encoding to.
997
- #
998
- # source://reline//lib/reline/key_stroke.rb#6
999
- def encoding=(_arg0); end
1000
-
1001
- # source://reline//lib/reline/key_stroke.rb#44
1002
- def expand(input); end
1003
-
1004
- # source://reline//lib/reline/key_stroke.rb#22
1005
- def match_status(input); end
1006
-
1007
- private
1008
-
1009
- # source://reline//lib/reline/key_stroke.rb#116
1010
- def key_mapping; end
1011
-
1012
- # returns match status of CSI/SS3 sequence and matched length
1013
- #
1014
- # source://reline//lib/reline/key_stroke.rb#80
1015
- def match_unknown_escape_sequence(input, vi_mode: T.unsafe(nil)); end
1016
- end
1017
-
1018
- # source://reline//lib/reline/key_stroke.rb#4
1019
- Reline::KeyStroke::CSI_INTERMEDIATE_BYTES_RANGE = T.let(T.unsafe(nil), Range)
1020
-
1021
- # source://reline//lib/reline/key_stroke.rb#3
1022
- Reline::KeyStroke::CSI_PARAMETER_BYTES_RANGE = T.let(T.unsafe(nil), Range)
1023
-
1024
- # source://reline//lib/reline/key_stroke.rb#2
1025
- Reline::KeyStroke::ESC_BYTE = T.let(T.unsafe(nil), Integer)
1026
-
1027
- # Input partially matches to a key sequence
1028
- #
1029
- # source://reline//lib/reline/key_stroke.rb#16
1030
- Reline::KeyStroke::MATCHED = T.let(T.unsafe(nil), Symbol)
1031
-
1032
- # Input exactly matches to a key sequence
1033
- #
1034
- # source://reline//lib/reline/key_stroke.rb#14
1035
- Reline::KeyStroke::MATCHING = T.let(T.unsafe(nil), Symbol)
1036
-
1037
- # Input matches to a key sequence and the key sequence is a prefix of another key sequence
1038
- #
1039
- # source://reline//lib/reline/key_stroke.rb#18
1040
- Reline::KeyStroke::MATCHING_MATCHED = T.let(T.unsafe(nil), Symbol)
1041
-
1042
- # Input does not match to any key sequence
1043
- #
1044
- # source://reline//lib/reline/key_stroke.rb#20
1045
- Reline::KeyStroke::UNMATCHED = T.let(T.unsafe(nil), Symbol)
1046
-
1047
- # source://reline//lib/reline/kill_ring.rb#1
1048
- class Reline::KillRing
1049
- include ::Enumerable
1050
-
1051
- # @return [KillRing] a new instance of KillRing
1052
- #
1053
- # source://reline//lib/reline/kill_ring.rb#61
1054
- def initialize(max = T.unsafe(nil)); end
1055
-
1056
- # source://reline//lib/reline/kill_ring.rb#68
1057
- def append(string, before_p = T.unsafe(nil)); end
1058
-
1059
- # source://reline//lib/reline/kill_ring.rb#116
1060
- def each; end
1061
-
1062
- # source://reline//lib/reline/kill_ring.rb#83
1063
- def process; end
1064
-
1065
- # source://reline//lib/reline/kill_ring.rb#96
1066
- def yank; end
1067
-
1068
- # source://reline//lib/reline/kill_ring.rb#106
1069
- def yank_pop; end
1070
- end
1071
-
1072
- # source://reline//lib/reline/kill_ring.rb#21
1073
- class Reline::KillRing::RingBuffer
1074
- # @return [RingBuffer] a new instance of RingBuffer
1075
- #
1076
- # source://reline//lib/reline/kill_ring.rb#25
1077
- def initialize(max = T.unsafe(nil)); end
1078
-
1079
- # source://reline//lib/reline/kill_ring.rb#31
1080
- def <<(point); end
1081
-
1082
- # @return [Boolean]
1083
- #
1084
- # source://reline//lib/reline/kill_ring.rb#56
1085
- def empty?; end
1086
-
1087
- # Returns the value of attribute head.
1088
- #
1089
- # source://reline//lib/reline/kill_ring.rb#23
1090
- def head; end
1091
-
1092
- # Returns the value of attribute size.
1093
- #
1094
- # source://reline//lib/reline/kill_ring.rb#22
1095
- def size; end
1096
- end
1097
-
1098
- # source://reline//lib/reline/kill_ring.rb#11
1099
- class Reline::KillRing::RingPoint < ::Struct
1100
- # @return [RingPoint] a new instance of RingPoint
1101
- #
1102
- # source://reline//lib/reline/kill_ring.rb#12
1103
- def initialize(str); end
1104
-
1105
- # source://reline//lib/reline/kill_ring.rb#16
1106
- def ==(other); end
1107
- end
1108
-
1109
- # source://reline//lib/reline/kill_ring.rb#6
1110
- Reline::KillRing::State::CONTINUED = T.let(T.unsafe(nil), Symbol)
1111
-
1112
- # source://reline//lib/reline/kill_ring.rb#5
1113
- Reline::KillRing::State::FRESH = T.let(T.unsafe(nil), Symbol)
1114
-
1115
- # source://reline//lib/reline/kill_ring.rb#7
1116
- Reline::KillRing::State::PROCESSED = T.let(T.unsafe(nil), Symbol)
1117
-
1118
- # source://reline//lib/reline/kill_ring.rb#8
1119
- Reline::KillRing::State::YANK = T.let(T.unsafe(nil), Symbol)
1120
-
1121
- # source://reline//lib/reline/line_editor.rb#6
1122
- class Reline::LineEditor
1123
- # @return [LineEditor] a new instance of LineEditor
1124
- #
1125
- # source://reline//lib/reline/line_editor.rb#73
1126
- def initialize(config); end
1127
-
1128
- # source://reline//lib/reline/line_editor.rb#692
1129
- def add_dialog_proc(name, p, context = T.unsafe(nil)); end
1130
-
1131
- # Returns the value of attribute auto_indent_proc.
1132
- #
1133
- # source://reline//lib/reline/line_editor.rb#14
1134
- def auto_indent_proc; end
1135
-
1136
- # Sets the attribute auto_indent_proc
1137
- #
1138
- # @param value the value to set the attribute auto_indent_proc to.
1139
- #
1140
- # source://reline//lib/reline/line_editor.rb#14
1141
- def auto_indent_proc=(_arg0); end
1142
-
1143
- # TODO: Use "private alias_method" idiom after drop Ruby 2.5.
1144
- #
1145
- # source://reline//lib/reline/line_editor.rb#8
1146
- def byte_pointer; end
1147
-
1148
- # source://reline//lib/reline/line_editor.rb#1282
1149
- def byte_pointer=(val); end
1150
-
1151
- # source://reline//lib/reline/line_editor.rb#398
1152
- def calculate_overlay_levels(overlay_levels); end
1153
-
1154
- # source://reline//lib/reline/line_editor.rb#1122
1155
- def call_completion_proc(pre, target, post, quote); end
1156
-
1157
- # source://reline//lib/reline/line_editor.rb#1129
1158
- def call_completion_proc_with_checking_args(pre, target, post); end
1159
-
1160
- # source://reline//lib/reline/line_editor.rb#446
1161
- def clear_dialogs; end
1162
-
1163
- # Returns the value of attribute completion_append_character.
1164
- #
1165
- # source://reline//lib/reline/line_editor.rb#11
1166
- def completion_append_character; end
1167
-
1168
- # Sets the attribute completion_append_character
1169
- #
1170
- # @param value the value to set the attribute completion_append_character to.
1171
- #
1172
- # source://reline//lib/reline/line_editor.rb#11
1173
- def completion_append_character=(_arg0); end
1174
-
1175
- # Returns the value of attribute completion_proc.
1176
- #
1177
- # source://reline//lib/reline/line_editor.rb#10
1178
- def completion_proc; end
1179
-
1180
- # Sets the attribute completion_proc
1181
- #
1182
- # @param value the value to set the attribute completion_proc to.
1183
- #
1184
- # source://reline//lib/reline/line_editor.rb#10
1185
- def completion_proc=(_arg0); end
1186
-
1187
- # source://reline//lib/reline/line_editor.rb#1223
1188
- def confirm_multiline_termination; end
1189
-
1190
- # Returns the value of attribute confirm_multiline_termination_proc.
1191
- #
1192
- # source://reline//lib/reline/line_editor.rb#9
1193
- def confirm_multiline_termination_proc; end
1194
-
1195
- # Sets the attribute confirm_multiline_termination_proc
1196
- #
1197
- # @param value the value to set the attribute confirm_multiline_termination_proc to.
1198
- #
1199
- # source://reline//lib/reline/line_editor.rb#9
1200
- def confirm_multiline_termination_proc=(_arg0); end
1201
-
1202
- # source://reline//lib/reline/line_editor.rb#304
1203
- def current_byte_pointer_cursor; end
1204
-
1205
- # source://reline//lib/reline/line_editor.rb#1172
1206
- def current_line; end
1207
-
1208
- # source://reline//lib/reline/line_editor.rb#1248
1209
- def delete_text(start = T.unsafe(nil), length = T.unsafe(nil)); end
1210
-
1211
- # source://reline//lib/reline/line_editor.rb#874
1212
- def dialog_proc_scope_completion_journey_data; end
1213
-
1214
- # Returns the value of attribute dig_perfect_match_proc.
1215
- #
1216
- # source://reline//lib/reline/line_editor.rb#15
1217
- def dig_perfect_match_proc; end
1218
-
1219
- # Sets the attribute dig_perfect_match_proc
1220
- #
1221
- # @param value the value to set the attribute dig_perfect_match_proc to.
1222
- #
1223
- # source://reline//lib/reline/line_editor.rb#15
1224
- def dig_perfect_match_proc=(_arg0); end
1225
-
1226
- # source://reline//lib/reline/line_editor.rb#801
1227
- def editing_mode; end
1228
-
1229
- # source://reline//lib/reline/line_editor.rb#84
1230
- def encoding; end
1231
-
1232
- # @return [Boolean]
1233
- #
1234
- # source://reline//lib/reline/line_editor.rb#220
1235
- def eof?; end
1236
-
1237
- # source://reline//lib/reline/line_editor.rb#216
1238
- def finalize; end
1239
-
1240
- # source://reline//lib/reline/line_editor.rb#1302
1241
- def finish; end
1242
-
1243
- # @return [Boolean]
1244
- #
1245
- # source://reline//lib/reline/line_editor.rb#1298
1246
- def finished?; end
1247
-
1248
- # source://reline//lib/reline/line_editor.rb#168
1249
- def handle_signal; end
1250
-
1251
- # source://reline//lib/reline/line_editor.rb#1043
1252
- def input_key(key); end
1253
-
1254
- # source://reline//lib/reline/line_editor.rb#1228
1255
- def insert_multiline_text(text); end
1256
-
1257
- # source://reline//lib/reline/line_editor.rb#1238
1258
- def insert_text(text); end
1259
-
1260
- # source://reline//lib/reline/line_editor.rb#80
1261
- def io_gate; end
1262
-
1263
- # source://reline//lib/reline/line_editor.rb#1168
1264
- def line; end
1265
-
1266
- # source://reline//lib/reline/line_editor.rb#351
1267
- def modified_lines; end
1268
-
1269
- # source://reline//lib/reline/line_editor.rb#273
1270
- def multiline_off; end
1271
-
1272
- # source://reline//lib/reline/line_editor.rb#269
1273
- def multiline_on; end
1274
-
1275
- # Returns the value of attribute output_modifier_proc.
1276
- #
1277
- # source://reline//lib/reline/line_editor.rb#12
1278
- def output_modifier_proc; end
1279
-
1280
- # Sets the attribute output_modifier_proc
1281
- #
1282
- # @param value the value to set the attribute output_modifier_proc to.
1283
- #
1284
- # source://reline//lib/reline/line_editor.rb#12
1285
- def output_modifier_proc=(_arg0); end
1286
-
1287
- # source://reline//lib/reline/line_editor.rb#473
1288
- def print_nomultiline_prompt; end
1289
-
1290
- # source://reline//lib/reline/line_editor.rb#357
1291
- def prompt_list; end
1292
-
1293
- # Returns the value of attribute prompt_proc.
1294
- #
1295
- # source://reline//lib/reline/line_editor.rb#13
1296
- def prompt_proc; end
1297
-
1298
- # Sets the attribute prompt_proc
1299
- #
1300
- # @param value the value to set the attribute prompt_proc to.
1301
- #
1302
- # source://reline//lib/reline/line_editor.rb#13
1303
- def prompt_proc=(_arg0); end
1304
-
1305
- # source://reline//lib/reline/line_editor.rb#1093
1306
- def push_input_lines; end
1307
-
1308
- # source://reline//lib/reline/line_editor.rb#481
1309
- def render; end
1310
-
1311
- # source://reline//lib/reline/line_editor.rb#461
1312
- def render_finished; end
1313
-
1314
- # source://reline//lib/reline/line_editor.rb#406
1315
- def render_line_differential(old_items, new_items); end
1316
-
1317
- # source://reline//lib/reline/line_editor.rb#564
1318
- def rerender; end
1319
-
1320
- # source://reline//lib/reline/line_editor.rb#141
1321
- def reset(prompt = T.unsafe(nil)); end
1322
-
1323
- # source://reline//lib/reline/line_editor.rb#261
1324
- def reset_line; end
1325
-
1326
- # source://reline//lib/reline/line_editor.rb#224
1327
- def reset_variables(prompt = T.unsafe(nil)); end
1328
-
1329
- # source://reline//lib/reline/line_editor.rb#560
1330
- def rest_height(wrapped_cursor_y); end
1331
-
1332
- # source://reline//lib/reline/line_editor.rb#1187
1333
- def retrieve_completion_block; end
1334
-
1335
- # source://reline//lib/reline/line_editor.rb#1089
1336
- def save_old_buffer; end
1337
-
1338
- # source://reline//lib/reline/line_editor.rb#363
1339
- def screen_height; end
1340
-
1341
- # source://reline//lib/reline/line_editor.rb#371
1342
- def screen_scroll_top; end
1343
-
1344
- # source://reline//lib/reline/line_editor.rb#367
1345
- def screen_width; end
1346
-
1347
- # source://reline//lib/reline/line_editor.rb#1112
1348
- def scroll_into_view; end
1349
-
1350
- # source://reline//lib/reline/line_editor.rb#1176
1351
- def set_current_line(line, byte_pointer = T.unsafe(nil)); end
1352
-
1353
- # source://reline//lib/reline/line_editor.rb#88
1354
- def set_pasting_state(in_pasting); end
1355
-
1356
- # source://reline//lib/reline/line_editor.rb#207
1357
- def set_signal_handlers; end
1358
-
1359
- # source://reline//lib/reline/line_editor.rb#1105
1360
- def trim_input_lines; end
1361
-
1362
- # source://reline//lib/reline/line_editor.rb#1033
1363
- def update(key); end
1364
-
1365
- # source://reline//lib/reline/line_editor.rb#453
1366
- def update_dialogs(key = T.unsafe(nil)); end
1367
-
1368
- # source://reline//lib/reline/line_editor.rb#556
1369
- def upper_space_height(wrapped_cursor_y); end
1370
-
1371
- # source://reline//lib/reline/line_editor.rb#1290
1372
- def whole_buffer; end
1373
-
1374
- # source://reline//lib/reline/line_editor.rb#1286
1375
- def whole_lines; end
1376
-
1377
- # source://reline//lib/reline/line_editor.rb#343
1378
- def with_cache(key, *deps); end
1379
-
1380
- # source://reline//lib/reline/line_editor.rb#948
1381
- def wrap_method_call(method_symbol, method_obj, key, with_operator = T.unsafe(nil)); end
1382
-
1383
- # Calculate cursor position in word wrapped content.
1384
- #
1385
- # source://reline//lib/reline/line_editor.rb#437
1386
- def wrapped_cursor_position; end
1387
-
1388
- # source://reline//lib/reline/line_editor.rb#375
1389
- def wrapped_prompt_and_input_lines; end
1390
-
1391
- private
1392
-
1393
- # @return [Boolean]
1394
- #
1395
- # source://reline//lib/reline/line_editor.rb#938
1396
- def argumentable?(method_obj); end
1397
-
1398
- # source://reline//lib/reline/line_editor.rb#1443
1399
- def backward_char(key, arg: T.unsafe(nil)); end
1400
-
1401
- # source://reline//lib/reline/line_editor.rb#1712
1402
- def backward_delete_char(key, arg: T.unsafe(nil)); end
1403
-
1404
- # source://reline//lib/reline/line_editor.rb#1856
1405
- def backward_kill_word(key); end
1406
-
1407
- # source://reline//lib/reline/line_editor.rb#1838
1408
- def backward_word(key); end
1409
-
1410
- # source://reline//lib/reline/line_editor.rb#1460
1411
- def beginning_of_line(key); end
1412
-
1413
- # @return [Boolean]
1414
- #
1415
- # source://reline//lib/reline/line_editor.rb#1294
1416
- def buffer_empty?; end
1417
-
1418
- # source://reline//lib/reline/line_editor.rb#1313
1419
- def byteinsert(str, byte_pointer, other); end
1420
-
1421
- # source://reline//lib/reline/line_editor.rb#1307
1422
- def byteslice!(str, byte_pointer, size); end
1423
-
1424
- # source://reline//lib/reline/line_editor.rb#308
1425
- def calculate_nearest_cursor(cursor); end
1426
-
1427
- # source://reline//lib/reline/line_editor.rb#1320
1428
- def calculate_width(str, allow_escape_code = T.unsafe(nil)); end
1429
-
1430
- # source://reline//lib/reline/line_editor.rb#1896
1431
- def capitalize_word(key); end
1432
-
1433
- # source://reline//lib/reline/line_editor.rb#95
1434
- def check_mode_string; end
1435
-
1436
- # source://reline//lib/reline/line_editor.rb#109
1437
- def check_multiline_prompt(buffer, mode_string); end
1438
-
1439
- # source://reline//lib/reline/line_editor.rb#968
1440
- def cleanup_waiting; end
1441
-
1442
- # source://reline//lib/reline/line_editor.rb#551
1443
- def clear_rendered_screen_cache; end
1444
-
1445
- # source://reline//lib/reline/line_editor.rb#1822
1446
- def clear_screen(key); end
1447
-
1448
- # source://reline//lib/reline/line_editor.rb#1340
1449
- def complete(_key); end
1450
-
1451
- # source://reline//lib/reline/line_editor.rb#1358
1452
- def completion_journey_move(direction); end
1453
-
1454
- # source://reline//lib/reline/line_editor.rb#1374
1455
- def completion_journey_up(_key); end
1456
-
1457
- # source://reline//lib/reline/line_editor.rb#1942
1458
- def copy_for_vi(text); end
1459
-
1460
- # source://reline//lib/reline/line_editor.rb#1777
1461
- def delete_char(key); end
1462
-
1463
- # source://reline//lib/reline/line_editor.rb#1792
1464
- def delete_char_or_list(key); end
1465
-
1466
- # source://reline//lib/reline/line_editor.rb#703
1467
- def dialog_range(dialog, dialog_y); end
1468
-
1469
- # source://reline//lib/reline/line_editor.rb#1906
1470
- def downcase_word(key); end
1471
-
1472
- # source://reline//lib/reline/line_editor.rb#2195
1473
- def ed_argument_digit(key); end
1474
-
1475
- # source://reline//lib/reline/line_editor.rb#1822
1476
- def ed_clear_screen(key); end
1477
-
1478
- # source://reline//lib/reline/line_editor.rb#2141
1479
- def ed_delete_next_char(key, arg: T.unsafe(nil)); end
1480
-
1481
- # source://reline//lib/reline/line_editor.rb#2053
1482
- def ed_delete_prev_char(key, arg: T.unsafe(nil)); end
1483
-
1484
- # source://reline//lib/reline/line_editor.rb#1856
1485
- def ed_delete_prev_word(key); end
1486
-
1487
- # Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters)
1488
- # In insert mode, insert the input character left of the cursor
1489
- # position. In replace mode, overwrite the character at the
1490
- # cursor and move the cursor to the right by one character
1491
- # position. Accept an argument to do this repeatedly. It is an
1492
- # error if the input character is the NUL character (+Ctrl-@+).
1493
- # Failure to enlarge the edit buffer also results in an error.
1494
- # Editline:: +ed-digit+ (emacs: 0 to 9) If in argument input mode, append
1495
- # the input digit to the argument being read. Otherwise, call
1496
- # +ed-insert+. It is an error if the input character is not a
1497
- # digit or if the existing argument is already greater than a
1498
- # million.
1499
- # GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself.
1500
- #
1501
- # source://reline//lib/reline/line_editor.rb#1401
1502
- def ed_digit(str); end
1503
-
1504
- # Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters)
1505
- # In insert mode, insert the input character left of the cursor
1506
- # position. In replace mode, overwrite the character at the
1507
- # cursor and move the cursor to the right by one character
1508
- # position. Accept an argument to do this repeatedly. It is an
1509
- # error if the input character is the NUL character (+Ctrl-@+).
1510
- # Failure to enlarge the edit buffer also results in an error.
1511
- # Editline:: +ed-digit+ (emacs: 0 to 9) If in argument input mode, append
1512
- # the input digit to the argument being read. Otherwise, call
1513
- # +ed-insert+. It is an error if the input character is not a
1514
- # digit or if the existing argument is already greater than a
1515
- # million.
1516
- # GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself.
1517
- #
1518
- # source://reline//lib/reline/line_editor.rb#1401
1519
- def ed_insert(str); end
1520
-
1521
- # Editline:: +ed-kill-line+ (vi command: +D+, +Ctrl-K+; emacs: +Ctrl-K+,
1522
- # +Ctrl-U+) + Kill from the cursor to the end of the line.
1523
- # GNU Readline:: +kill-line+ (+C-k+) Kill the text from point to the end of
1524
- # the line. With a negative numeric argument, kill backward
1525
- # from the cursor to the beginning of the current line.
1526
- #
1527
- # source://reline//lib/reline/line_editor.rb#1733
1528
- def ed_kill_line(key); end
1529
-
1530
- # source://reline//lib/reline/line_editor.rb#1460
1531
- def ed_move_to_beg(key); end
1532
-
1533
- # source://reline//lib/reline/line_editor.rb#1466
1534
- def ed_move_to_end(key); end
1535
-
1536
- # source://reline//lib/reline/line_editor.rb#1683
1537
- def ed_newline(key); end
1538
-
1539
- # source://reline//lib/reline/line_editor.rb#1430
1540
- def ed_next_char(key, arg: T.unsafe(nil)); end
1541
-
1542
- # source://reline//lib/reline/line_editor.rb#1666
1543
- def ed_next_history(key, arg: T.unsafe(nil)); end
1544
-
1545
- # source://reline//lib/reline/line_editor.rb#1443
1546
- def ed_prev_char(key, arg: T.unsafe(nil)); end
1547
-
1548
- # source://reline//lib/reline/line_editor.rb#1649
1549
- def ed_prev_history(key, arg: T.unsafe(nil)); end
1550
-
1551
- # source://reline//lib/reline/line_editor.rb#1838
1552
- def ed_prev_word(key); end
1553
-
1554
- # source://reline//lib/reline/line_editor.rb#1612
1555
- def ed_search_next_history(key, arg: T.unsafe(nil)); end
1556
-
1557
- # source://reline//lib/reline/line_editor.rb#1597
1558
- def ed_search_prev_history(key, arg: T.unsafe(nil)); end
1559
-
1560
- # source://reline//lib/reline/line_editor.rb#1866
1561
- def ed_transpose_chars(key); end
1562
-
1563
- # source://reline//lib/reline/line_editor.rb#1883
1564
- def ed_transpose_words(key); end
1565
-
1566
- # do nothing
1567
- #
1568
- # source://reline//lib/reline/line_editor.rb#1380
1569
- def ed_unassigned(key); end
1570
-
1571
- # source://reline//lib/reline/line_editor.rb#1896
1572
- def em_capitol_case(key); end
1573
-
1574
- # source://reline//lib/reline/line_editor.rb#1777
1575
- def em_delete(key); end
1576
-
1577
- # source://reline//lib/reline/line_editor.rb#1846
1578
- def em_delete_next_word(key); end
1579
-
1580
- # source://reline//lib/reline/line_editor.rb#1792
1581
- def em_delete_or_list(key); end
1582
-
1583
- # source://reline//lib/reline/line_editor.rb#1712
1584
- def em_delete_prev_char(key, arg: T.unsafe(nil)); end
1585
-
1586
- # source://reline//lib/reline/line_editor.rb#2336
1587
- def em_exchange_mark(key); end
1588
-
1589
- # Editline:: +em-kill-line+ (not bound) Delete the entire contents of the
1590
- # edit buffer and save it to the cut buffer. +vi-kill-line-prev+
1591
- # GNU Readline:: +kill-whole-line+ (not bound) Kill all characters on the
1592
- # current line, no matter where point is.
1593
- #
1594
- # source://reline//lib/reline/line_editor.rb#1769
1595
- def em_kill_line(key); end
1596
-
1597
- # source://reline//lib/reline/line_editor.rb#1932
1598
- def em_kill_region(key); end
1599
-
1600
- # source://reline//lib/reline/line_editor.rb#1906
1601
- def em_lower_case(key); end
1602
-
1603
- # source://reline//lib/reline/line_editor.rb#1830
1604
- def em_next_word(key); end
1605
-
1606
- # source://reline//lib/reline/line_editor.rb#2331
1607
- def em_set_mark(key); end
1608
-
1609
- # source://reline//lib/reline/line_editor.rb#1919
1610
- def em_upper_case(key); end
1611
-
1612
- # source://reline//lib/reline/line_editor.rb#1806
1613
- def em_yank(key); end
1614
-
1615
- # source://reline//lib/reline/line_editor.rb#1812
1616
- def em_yank_pop(key); end
1617
-
1618
- # source://reline//lib/reline/line_editor.rb#2344
1619
- def emacs_editing_mode(key); end
1620
-
1621
- # source://reline//lib/reline/line_editor.rb#1466
1622
- def end_of_line(key); end
1623
-
1624
- # source://reline//lib/reline/line_editor.rb#2336
1625
- def exchange_point_and_mark(key); end
1626
-
1627
- # source://reline//lib/reline/line_editor.rb#809
1628
- def filter_normalize_candidates(target, list); end
1629
-
1630
- # source://reline//lib/reline/line_editor.rb#1430
1631
- def forward_char(key, arg: T.unsafe(nil)); end
1632
-
1633
- # source://reline//lib/reline/line_editor.rb#1582
1634
- def forward_search_history(key); end
1635
-
1636
- # source://reline//lib/reline/line_editor.rb#1830
1637
- def forward_word(key); end
1638
-
1639
- # source://reline//lib/reline/line_editor.rb#1471
1640
- def generate_searcher(search_key); end
1641
-
1642
- # source://reline//lib/reline/line_editor.rb#185
1643
- def handle_interrupted; end
1644
-
1645
- # source://reline//lib/reline/line_editor.rb#173
1646
- def handle_resized; end
1647
-
1648
- # source://reline//lib/reline/line_editor.rb#1597
1649
- def history_search_backward(key, arg: T.unsafe(nil)); end
1650
-
1651
- # source://reline//lib/reline/line_editor.rb#1612
1652
- def history_search_forward(key, arg: T.unsafe(nil)); end
1653
-
1654
- # @return [Boolean]
1655
- #
1656
- # source://reline//lib/reline/line_editor.rb#942
1657
- def inclusive?(method_obj); end
1658
-
1659
- # source://reline//lib/reline/line_editor.rb#1550
1660
- def incremental_search_history(key); end
1661
-
1662
- # source://reline//lib/reline/line_editor.rb#277
1663
- def insert_new_line(cursor_line, next_line); end
1664
-
1665
- # source://reline//lib/reline/line_editor.rb#1419
1666
- def insert_raw_char(str, arg: T.unsafe(nil)); end
1667
-
1668
- # source://reline//lib/reline/line_editor.rb#1324
1669
- def key_delete(key); end
1670
-
1671
- # source://reline//lib/reline/line_editor.rb#1332
1672
- def key_newline(key); end
1673
-
1674
- # Editline:: +ed-kill-line+ (vi command: +D+, +Ctrl-K+; emacs: +Ctrl-K+,
1675
- # +Ctrl-U+) + Kill from the cursor to the end of the line.
1676
- # GNU Readline:: +kill-line+ (+C-k+) Kill the text from point to the end of
1677
- # the line. With a negative numeric argument, kill backward
1678
- # from the cursor to the beginning of the current line.
1679
- #
1680
- # source://reline//lib/reline/line_editor.rb#1733
1681
- def kill_line(key); end
1682
-
1683
- # Editline:: +em-kill-line+ (not bound) Delete the entire contents of the
1684
- # edit buffer and save it to the cut buffer. +vi-kill-line-prev+
1685
- # GNU Readline:: +kill-whole-line+ (not bound) Kill all characters on the
1686
- # current line, no matter where point is.
1687
- #
1688
- # source://reline//lib/reline/line_editor.rb#1769
1689
- def kill_whole_line(key); end
1690
-
1691
- # source://reline//lib/reline/line_editor.rb#1846
1692
- def kill_word(key); end
1693
-
1694
- # source://reline//lib/reline/line_editor.rb#805
1695
- def menu(list); end
1696
-
1697
- # source://reline//lib/reline/line_editor.rb#1366
1698
- def menu_complete(_key); end
1699
-
1700
- # source://reline//lib/reline/line_editor.rb#1370
1701
- def menu_complete_backward(_key); end
1702
-
1703
- # source://reline//lib/reline/line_editor.rb#793
1704
- def modify_lines(before, complete); end
1705
-
1706
- # source://reline//lib/reline/line_editor.rb#887
1707
- def move_completed_list(direction); end
1708
-
1709
- # source://reline//lib/reline/line_editor.rb#1627
1710
- def move_history(history_pointer, line:, cursor:); end
1711
-
1712
- # source://reline//lib/reline/line_editor.rb#2352
1713
- def move_undo_redo(direction); end
1714
-
1715
- # source://reline//lib/reline/line_editor.rb#1666
1716
- def next_history(key, arg: T.unsafe(nil)); end
1717
-
1718
- # source://reline//lib/reline/line_editor.rb#832
1719
- def perform_completion(preposing, target, postposing, quote, list); end
1720
-
1721
- # source://reline//lib/reline/line_editor.rb#2371
1722
- def prev_action_state_value(type); end
1723
-
1724
- # source://reline//lib/reline/line_editor.rb#1649
1725
- def previous_history(key, arg: T.unsafe(nil)); end
1726
-
1727
- # source://reline//lib/reline/line_editor.rb#1151
1728
- def process_auto_indent(line_index = T.unsafe(nil), cursor_dependent: T.unsafe(nil), add_newline: T.unsafe(nil)); end
1729
-
1730
- # source://reline//lib/reline/line_editor.rb#1382
1731
- def process_insert(force: T.unsafe(nil)); end
1732
-
1733
- # source://reline//lib/reline/line_editor.rb#979
1734
- def process_key(key, method_symbol); end
1735
-
1736
- # source://reline//lib/reline/line_editor.rb#2379
1737
- def re_read_init_file(_key); end
1738
-
1739
- # source://reline//lib/reline/line_editor.rb#2367
1740
- def redo(_key); end
1741
-
1742
- # Reflects lines to be rendered and new cursor position to the screen
1743
- # by calculating the difference from the previous render.
1744
- #
1745
- # source://reline//lib/reline/line_editor.rb#515
1746
- def render_differential(new_lines, new_cursor_x, new_cursor_y); end
1747
-
1748
- # source://reline//lib/reline/line_editor.rb#899
1749
- def retrieve_completion_journey_state; end
1750
-
1751
- # source://reline//lib/reline/line_editor.rb#1577
1752
- def reverse_search_history(key); end
1753
-
1754
- # source://reline//lib/reline/line_editor.rb#914
1755
- def run_for_operators(key, method_symbol, &block); end
1756
-
1757
- # source://reline//lib/reline/line_editor.rb#1587
1758
- def search_history(prefix, pointer_range); end
1759
-
1760
- # source://reline//lib/reline/line_editor.rb#2242
1761
- def search_next_char(key, arg, need_prev_char: T.unsafe(nil), inclusive: T.unsafe(nil)); end
1762
-
1763
- # source://reline//lib/reline/line_editor.rb#2289
1764
- def search_prev_char(key, arg, need_next_char = T.unsafe(nil)); end
1765
-
1766
- # Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters)
1767
- # In insert mode, insert the input character left of the cursor
1768
- # position. In replace mode, overwrite the character at the
1769
- # cursor and move the cursor to the right by one character
1770
- # position. Accept an argument to do this repeatedly. It is an
1771
- # error if the input character is the NUL character (+Ctrl-@+).
1772
- # Failure to enlarge the edit buffer also results in an error.
1773
- # Editline:: +ed-digit+ (emacs: 0 to 9) If in argument input mode, append
1774
- # the input digit to the argument being read. Otherwise, call
1775
- # +ed-insert+. It is an error if the input character is not a
1776
- # digit or if the existing argument is already greater than a
1777
- # million.
1778
- # GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself.
1779
- #
1780
- # source://reline//lib/reline/line_editor.rb#1401
1781
- def self_insert(str); end
1782
-
1783
- # source://reline//lib/reline/line_editor.rb#2331
1784
- def set_mark(key); end
1785
-
1786
- # source://reline//lib/reline/line_editor.rb#2375
1787
- def set_next_action_state(type, value); end
1788
-
1789
- # source://reline//lib/reline/line_editor.rb#300
1790
- def split_line_by_width(str, max_width, offset: T.unsafe(nil)); end
1791
-
1792
- # source://reline//lib/reline/line_editor.rb#1866
1793
- def transpose_chars(key); end
1794
-
1795
- # source://reline//lib/reline/line_editor.rb#1883
1796
- def transpose_words(key); end
1797
-
1798
- # source://reline//lib/reline/line_editor.rb#2363
1799
- def undo(_key); end
1800
-
1801
- # Editline:: +vi-kill-line-prev+ (vi: +Ctrl-U+) Delete the string from the
1802
- # beginning of the edit buffer to the cursor and save it to the
1803
- # cut buffer.
1804
- # GNU Readline:: +unix-line-discard+ (+C-u+) Kill backward from the cursor
1805
- # to the beginning of the current line.
1806
- #
1807
- # source://reline//lib/reline/line_editor.rb#1756
1808
- def unix_line_discard(key); end
1809
-
1810
- # source://reline//lib/reline/line_editor.rb#1932
1811
- def unix_word_rubout(key); end
1812
-
1813
- # source://reline//lib/reline/line_editor.rb#1919
1814
- def upcase_word(key); end
1815
-
1816
- # source://reline//lib/reline/line_editor.rb#709
1817
- def update_each_dialog(dialog, cursor_column, cursor_row, key = T.unsafe(nil)); end
1818
-
1819
- # source://reline//lib/reline/line_editor.rb#1952
1820
- def vi_add(key); end
1821
-
1822
- # source://reline//lib/reline/line_editor.rb#2048
1823
- def vi_add_at_eol(key); end
1824
-
1825
- # source://reline//lib/reline/line_editor.rb#2067
1826
- def vi_change_meta(key, arg: T.unsafe(nil)); end
1827
-
1828
- # source://reline//lib/reline/line_editor.rb#2079
1829
- def vi_change_meta_confirm(byte_pointer_diff); end
1830
-
1831
- # Editline:: +vi_change_to_eol+ (vi command: +C+) + Kill and change from the cursor to the end of the line.
1832
- #
1833
- # source://reline//lib/reline/line_editor.rb#1745
1834
- def vi_change_to_eol(key); end
1835
-
1836
- # source://reline//lib/reline/line_editor.rb#1957
1837
- def vi_command_mode(key); end
1838
-
1839
- # source://reline//lib/reline/line_editor.rb#2085
1840
- def vi_delete_meta(key, arg: T.unsafe(nil)); end
1841
-
1842
- # source://reline//lib/reline/line_editor.rb#2096
1843
- def vi_delete_meta_confirm(byte_pointer_diff); end
1844
-
1845
- # source://reline//lib/reline/line_editor.rb#2029
1846
- def vi_delete_prev_char(key); end
1847
-
1848
- # source://reline//lib/reline/line_editor.rb#2348
1849
- def vi_editing_mode(key); end
1850
-
1851
- # source://reline//lib/reline/line_editor.rb#2014
1852
- def vi_end_big_word(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
1853
-
1854
- # source://reline//lib/reline/line_editor.rb#2130
1855
- def vi_end_of_transmission(key); end
1856
-
1857
- # source://reline//lib/reline/line_editor.rb#1981
1858
- def vi_end_word(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
1859
-
1860
- # source://reline//lib/reline/line_editor.rb#2130
1861
- def vi_eof_maybe(key); end
1862
-
1863
- # source://reline//lib/reline/line_editor.rb#1456
1864
- def vi_first_print(key); end
1865
-
1866
- # source://reline//lib/reline/line_editor.rb#2164
1867
- def vi_histedit(key); end
1868
-
1869
- # source://reline//lib/reline/line_editor.rb#1948
1870
- def vi_insert(key); end
1871
-
1872
- # source://reline//lib/reline/line_editor.rb#2043
1873
- def vi_insert_at_bol(key); end
1874
-
1875
- # source://reline//lib/reline/line_editor.rb#2322
1876
- def vi_join_lines(key, arg: T.unsafe(nil)); end
1877
-
1878
- # Editline:: +vi-kill-line-prev+ (vi: +Ctrl-U+) Delete the string from the
1879
- # beginning of the edit buffer to the cursor and save it to the
1880
- # cut buffer.
1881
- # GNU Readline:: +unix-line-discard+ (+C-u+) Kill backward from the cursor
1882
- # to the beginning of the current line.
1883
- #
1884
- # source://reline//lib/reline/line_editor.rb#1756
1885
- def vi_kill_line_prev(key); end
1886
-
1887
- # source://reline//lib/reline/line_editor.rb#2130
1888
- def vi_list_or_eof(key); end
1889
-
1890
- # source://reline//lib/reline/line_editor.rb#1957
1891
- def vi_movement_mode(key); end
1892
-
1893
- # source://reline//lib/reline/line_editor.rb#1996
1894
- def vi_next_big_word(key, arg: T.unsafe(nil)); end
1895
-
1896
- # source://reline//lib/reline/line_editor.rb#2234
1897
- def vi_next_char(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
1898
-
1899
- # source://reline//lib/reline/line_editor.rb#1963
1900
- def vi_next_word(key, arg: T.unsafe(nil)); end
1901
-
1902
- # source://reline//lib/reline/line_editor.rb#2185
1903
- def vi_paste_next(key, arg: T.unsafe(nil)); end
1904
-
1905
- # source://reline//lib/reline/line_editor.rb#2176
1906
- def vi_paste_prev(key, arg: T.unsafe(nil)); end
1907
-
1908
- # source://reline//lib/reline/line_editor.rb#2005
1909
- def vi_prev_big_word(key, arg: T.unsafe(nil)); end
1910
-
1911
- # source://reline//lib/reline/line_editor.rb#2281
1912
- def vi_prev_char(key, arg: T.unsafe(nil)); end
1913
-
1914
- # source://reline//lib/reline/line_editor.rb#1972
1915
- def vi_prev_word(key, arg: T.unsafe(nil)); end
1916
-
1917
- # source://reline//lib/reline/line_editor.rb#2210
1918
- def vi_replace_char(key, arg: T.unsafe(nil)); end
1919
-
1920
- # source://reline//lib/reline/line_editor.rb#1582
1921
- def vi_search_next(key); end
1922
-
1923
- # source://reline//lib/reline/line_editor.rb#1577
1924
- def vi_search_prev(key); end
1925
-
1926
- # source://reline//lib/reline/line_editor.rb#2201
1927
- def vi_to_column(key, arg: T.unsafe(nil)); end
1928
-
1929
- # source://reline//lib/reline/line_editor.rb#2157
1930
- def vi_to_history_line(key); end
1931
-
1932
- # source://reline//lib/reline/line_editor.rb#2238
1933
- def vi_to_next_char(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
1934
-
1935
- # source://reline//lib/reline/line_editor.rb#2285
1936
- def vi_to_prev_char(key, arg: T.unsafe(nil)); end
1937
-
1938
- # source://reline//lib/reline/line_editor.rb#2108
1939
- def vi_yank(key, arg: T.unsafe(nil)); end
1940
-
1941
- # source://reline//lib/reline/line_editor.rb#2119
1942
- def vi_yank_confirm(byte_pointer_diff); end
1943
-
1944
- # source://reline//lib/reline/line_editor.rb#1460
1945
- def vi_zero(key); end
1946
-
1947
- # source://reline//lib/reline/line_editor.rb#1806
1948
- def yank(key); end
1949
-
1950
- # source://reline//lib/reline/line_editor.rb#1812
1951
- def yank_pop(key); end
1952
- end
1953
-
1954
- # source://reline//lib/reline/line_editor.rb#976
1955
- Reline::LineEditor::ARGUMENT_DIGIT_METHODS = T.let(T.unsafe(nil), Array)
1956
-
1957
- # source://reline//lib/reline/line_editor.rb#45
1958
- class Reline::LineEditor::CompletionJourneyState < ::Struct
1959
- # Returns the value of attribute line_index
1960
- #
1961
- # @return [Object] the current value of line_index
1962
- def line_index; end
1963
-
1964
- # Sets the attribute line_index
1965
- #
1966
- # @param value [Object] the value to set the attribute line_index to.
1967
- # @return [Object] the newly set value
1968
- def line_index=(_); end
1969
-
1970
- # Returns the value of attribute list
1971
- #
1972
- # @return [Object] the current value of list
1973
- def list; end
1974
-
1975
- # Sets the attribute list
1976
- #
1977
- # @param value [Object] the value to set the attribute list to.
1978
- # @return [Object] the newly set value
1979
- def list=(_); end
1980
-
1981
- # Returns the value of attribute pointer
1982
- #
1983
- # @return [Object] the current value of pointer
1984
- def pointer; end
1985
-
1986
- # Sets the attribute pointer
1987
- #
1988
- # @param value [Object] the value to set the attribute pointer to.
1989
- # @return [Object] the newly set value
1990
- def pointer=(_); end
1991
-
1992
- # Returns the value of attribute post
1993
- #
1994
- # @return [Object] the current value of post
1995
- def post; end
1996
-
1997
- # Sets the attribute post
1998
- #
1999
- # @param value [Object] the value to set the attribute post to.
2000
- # @return [Object] the newly set value
2001
- def post=(_); end
2002
-
2003
- # Returns the value of attribute pre
2004
- #
2005
- # @return [Object] the current value of pre
2006
- def pre; end
2007
-
2008
- # Sets the attribute pre
2009
- #
2010
- # @param value [Object] the value to set the attribute pre to.
2011
- # @return [Object] the newly set value
2012
- def pre=(_); end
2013
-
2014
- # Returns the value of attribute target
2015
- #
2016
- # @return [Object] the current value of target
2017
- def target; end
2018
-
2019
- # Sets the attribute target
2020
- #
2021
- # @param value [Object] the value to set the attribute target to.
2022
- # @return [Object] the newly set value
2023
- def target=(_); end
2024
-
2025
- class << self
2026
- def [](*_arg0); end
2027
- def inspect; end
2028
- def keyword_init?; end
2029
- def members; end
2030
- def new(*_arg0); end
2031
- end
2032
- end
2033
-
2034
- # source://reline//lib/reline/line_editor.rb#38
2035
- Reline::LineEditor::CompletionState::MENU = T.let(T.unsafe(nil), Symbol)
2036
-
2037
- # source://reline//lib/reline/line_editor.rb#39
2038
- Reline::LineEditor::CompletionState::MENU_WITH_PERFECT_MATCH = T.let(T.unsafe(nil), Symbol)
2039
-
2040
- # source://reline//lib/reline/line_editor.rb#37
2041
- Reline::LineEditor::CompletionState::NORMAL = T.let(T.unsafe(nil), Symbol)
2042
-
2043
- # source://reline//lib/reline/line_editor.rb#40
2044
- Reline::LineEditor::CompletionState::PERFECT_MATCH = T.let(T.unsafe(nil), Symbol)
2045
-
2046
- # source://reline//lib/reline/line_editor.rb#701
2047
- Reline::LineEditor::DIALOG_DEFAULT_HEIGHT = T.let(T.unsafe(nil), Integer)
2048
-
2049
- # source://reline//lib/reline/line_editor.rb#647
2050
- class Reline::LineEditor::Dialog
2051
- # @return [Dialog] a new instance of Dialog
2052
- #
2053
- # source://reline//lib/reline/line_editor.rb#651
2054
- def initialize(name, config, proc_scope); end
2055
-
2056
- # source://reline//lib/reline/line_editor.rb#675
2057
- def call(key); end
2058
-
2059
- # Returns the value of attribute column.
2060
- #
2061
- # source://reline//lib/reline/line_editor.rb#649
2062
- def column; end
2063
-
2064
- # Sets the attribute column
2065
- #
2066
- # @param value the value to set the attribute column to.
2067
- #
2068
- # source://reline//lib/reline/line_editor.rb#649
2069
- def column=(_arg0); end
2070
-
2071
- # Returns the value of attribute contents.
2072
- #
2073
- # source://reline//lib/reline/line_editor.rb#648
2074
- def contents; end
2075
-
2076
- # source://reline//lib/reline/line_editor.rb#668
2077
- def contents=(contents); end
2078
-
2079
- # Returns the value of attribute name.
2080
- #
2081
- # source://reline//lib/reline/line_editor.rb#648
2082
- def name; end
2083
-
2084
- # Returns the value of attribute pointer.
2085
- #
2086
- # source://reline//lib/reline/line_editor.rb#649
2087
- def pointer; end
2088
-
2089
- # Sets the attribute pointer
2090
- #
2091
- # @param value the value to set the attribute pointer to.
2092
- #
2093
- # source://reline//lib/reline/line_editor.rb#649
2094
- def pointer=(_arg0); end
2095
-
2096
- # Returns the value of attribute scroll_top.
2097
- #
2098
- # source://reline//lib/reline/line_editor.rb#649
2099
- def scroll_top; end
2100
-
2101
- # Sets the attribute scroll_top
2102
- #
2103
- # @param value the value to set the attribute scroll_top to.
2104
- #
2105
- # source://reline//lib/reline/line_editor.rb#649
2106
- def scroll_top=(_arg0); end
2107
-
2108
- # source://reline//lib/reline/line_editor.rb#660
2109
- def set_cursor_pos(col, row); end
2110
-
2111
- # Returns the value of attribute trap_key.
2112
- #
2113
- # source://reline//lib/reline/line_editor.rb#649
2114
- def trap_key; end
2115
-
2116
- # Sets the attribute trap_key
2117
- #
2118
- # @param value the value to set the attribute trap_key to.
2119
- #
2120
- # source://reline//lib/reline/line_editor.rb#649
2121
- def trap_key=(_arg0); end
2122
-
2123
- # Returns the value of attribute vertical_offset.
2124
- #
2125
- # source://reline//lib/reline/line_editor.rb#649
2126
- def vertical_offset; end
2127
-
2128
- # Sets the attribute vertical_offset
2129
- #
2130
- # @param value the value to set the attribute vertical_offset to.
2131
- #
2132
- # source://reline//lib/reline/line_editor.rb#649
2133
- def vertical_offset=(_arg0); end
2134
-
2135
- # Returns the value of attribute width.
2136
- #
2137
- # source://reline//lib/reline/line_editor.rb#648
2138
- def width; end
2139
-
2140
- # source://reline//lib/reline/line_editor.rb#664
2141
- def width=(v); end
2142
- end
2143
-
2144
- # source://reline//lib/reline/line_editor.rb#568
2145
- class Reline::LineEditor::DialogProcScope
2146
- # @return [DialogProcScope] a new instance of DialogProcScope
2147
- #
2148
- # source://reline//lib/reline/line_editor.rb#571
2149
- def initialize(line_editor, config, proc_to_exec, context); end
2150
-
2151
- # source://reline//lib/reline/line_editor.rb#642
2152
- def call; end
2153
-
2154
- # source://reline//lib/reline/line_editor.rb#588
2155
- def call_completion_proc_with_checking_args(pre, target, post); end
2156
-
2157
- # source://reline//lib/reline/line_editor.rb#634
2158
- def completion_journey_data; end
2159
-
2160
- # source://reline//lib/reline/line_editor.rb#638
2161
- def config; end
2162
-
2163
- # source://reline//lib/reline/line_editor.rb#579
2164
- def context; end
2165
-
2166
- # source://reline//lib/reline/line_editor.rb#613
2167
- def cursor_pos; end
2168
-
2169
- # source://reline//lib/reline/line_editor.rb#596
2170
- def dialog; end
2171
-
2172
- # source://reline//lib/reline/line_editor.rb#617
2173
- def just_cursor_moving; end
2174
-
2175
- # source://reline//lib/reline/line_editor.rb#609
2176
- def key; end
2177
-
2178
- # source://reline//lib/reline/line_editor.rb#629
2179
- def preferred_dialog_height; end
2180
-
2181
- # source://reline//lib/reline/line_editor.rb#583
2182
- def retrieve_completion_block(_unused = T.unsafe(nil)); end
2183
-
2184
- # source://reline//lib/reline/line_editor.rb#625
2185
- def screen_height; end
2186
-
2187
- # source://reline//lib/reline/line_editor.rb#621
2188
- def screen_width; end
2189
-
2190
- # source://reline//lib/reline/line_editor.rb#600
2191
- def set_cursor_pos(col, row); end
2192
-
2193
- # source://reline//lib/reline/line_editor.rb#592
2194
- def set_dialog(dialog); end
2195
-
2196
- # source://reline//lib/reline/line_editor.rb#605
2197
- def set_key(key); end
2198
- end
2199
-
2200
- # source://reline//lib/reline/line_editor.rb#569
2201
- class Reline::LineEditor::DialogProcScope::CompletionJourneyData < ::Struct
2202
- # Returns the value of attribute list
2203
- #
2204
- # @return [Object] the current value of list
2205
- def list; end
2206
-
2207
- # Sets the attribute list
2208
- #
2209
- # @param value [Object] the value to set the attribute list to.
2210
- # @return [Object] the newly set value
2211
- def list=(_); end
2212
-
2213
- # Returns the value of attribute pointer
2214
- #
2215
- # @return [Object] the current value of pointer
2216
- def pointer; end
2217
-
2218
- # Sets the attribute pointer
2219
- #
2220
- # @param value [Object] the value to set the attribute pointer to.
2221
- # @return [Object] the newly set value
2222
- def pointer=(_); end
2223
-
2224
- # Returns the value of attribute postposing
2225
- #
2226
- # @return [Object] the current value of postposing
2227
- def postposing; end
2228
-
2229
- # Sets the attribute postposing
2230
- #
2231
- # @param value [Object] the value to set the attribute postposing to.
2232
- # @return [Object] the newly set value
2233
- def postposing=(_); end
2234
-
2235
- # Returns the value of attribute preposing
2236
- #
2237
- # @return [Object] the current value of preposing
2238
- def preposing; end
2239
-
2240
- # Sets the attribute preposing
2241
- #
2242
- # @param value [Object] the value to set the attribute preposing to.
2243
- # @return [Object] the newly set value
2244
- def preposing=(_); end
2245
-
2246
- class << self
2247
- def [](*_arg0); end
2248
- def inspect; end
2249
- def keyword_init?; end
2250
- def members; end
2251
- def new(*_arg0); end
2252
- end
2253
- end
2254
-
2255
- # source://reline//lib/reline/line_editor.rb#1104
2256
- Reline::LineEditor::MAX_INPUT_LINES = T.let(T.unsafe(nil), Integer)
2257
-
2258
- # source://reline//lib/reline/line_editor.rb#71
2259
- Reline::LineEditor::MINIMUM_SCROLLBAR_HEIGHT = T.let(T.unsafe(nil), Integer)
2260
-
2261
- # source://reline//lib/reline/line_editor.rb#48
2262
- class Reline::LineEditor::MenuInfo
2263
- # @return [MenuInfo] a new instance of MenuInfo
2264
- #
2265
- # source://reline//lib/reline/line_editor.rb#51
2266
- def initialize(list); end
2267
-
2268
- # source://reline//lib/reline/line_editor.rb#55
2269
- def lines(screen_width); end
2270
-
2271
- # Returns the value of attribute list.
2272
- #
2273
- # source://reline//lib/reline/line_editor.rb#49
2274
- def list; end
2275
- end
2276
-
2277
- # source://reline//lib/reline/line_editor.rb#46
2278
- Reline::LineEditor::NullActionState = T.let(T.unsafe(nil), Array)
2279
-
2280
- # source://reline//lib/reline/line_editor.rb#43
2281
- class Reline::LineEditor::RenderedScreen < ::Struct
2282
- # Returns the value of attribute base_y
2283
- #
2284
- # @return [Object] the current value of base_y
2285
- def base_y; end
2286
-
2287
- # Sets the attribute base_y
2288
- #
2289
- # @param value [Object] the value to set the attribute base_y to.
2290
- # @return [Object] the newly set value
2291
- def base_y=(_); end
2292
-
2293
- # Returns the value of attribute cursor_y
2294
- #
2295
- # @return [Object] the current value of cursor_y
2296
- def cursor_y; end
2297
-
2298
- # Sets the attribute cursor_y
2299
- #
2300
- # @param value [Object] the value to set the attribute cursor_y to.
2301
- # @return [Object] the newly set value
2302
- def cursor_y=(_); end
2303
-
2304
- # Returns the value of attribute lines
2305
- #
2306
- # @return [Object] the current value of lines
2307
- def lines; end
2308
-
2309
- # Sets the attribute lines
2310
- #
2311
- # @param value [Object] the value to set the attribute lines to.
2312
- # @return [Object] the newly set value
2313
- def lines=(_); end
2314
-
2315
- class << self
2316
- def [](*_arg0); end
2317
- def inspect; end
2318
- def keyword_init?; end
2319
- def members; end
2320
- def new(*_arg0); end
2321
- end
2322
- end
2323
-
2324
- # source://reline//lib/reline/line_editor.rb#17
2325
- Reline::LineEditor::VI_MOTIONS = T.let(T.unsafe(nil), Array)
2326
-
2327
- # source://reline//lib/reline/line_editor.rb#977
2328
- Reline::LineEditor::VI_WAITING_ACCEPT_METHODS = T.let(T.unsafe(nil), Array)
2329
-
2330
- # source://reline//lib/reline.rb#16
2331
- Reline::USERNAME_COMPLETION_PROC = T.let(T.unsafe(nil), T.untyped)
2332
-
2333
- # source://reline//lib/reline/unicode.rb#1
2334
- class Reline::Unicode
2335
- class << self
2336
- # source://reline//lib/reline/unicode.rb#98
2337
- def calculate_width(str, allow_escape_code = T.unsafe(nil)); end
2338
-
2339
- # source://reline//lib/reline/unicode.rb#387
2340
- def common_prefix(list, ignore_case: T.unsafe(nil)); end
2341
-
2342
- # source://reline//lib/reline/unicode.rb#292
2343
- def ed_transpose_words(line, byte_pointer); end
2344
-
2345
- # source://reline//lib/reline/unicode.rb#278
2346
- def em_backward_word(line, byte_pointer); end
2347
-
2348
- # source://reline//lib/reline/unicode.rb#285
2349
- def em_big_backward_word(line, byte_pointer); end
2350
-
2351
- # source://reline//lib/reline/unicode.rb#264
2352
- def em_forward_word(line, byte_pointer); end
2353
-
2354
- # source://reline//lib/reline/unicode.rb#271
2355
- def em_forward_word_with_capitalization(line, byte_pointer); end
2356
-
2357
- # source://reline//lib/reline/unicode.rb#44
2358
- def escape_for_print(str); end
2359
-
2360
- # source://reline//lib/reline/unicode.rb#75
2361
- def get_mbchar_width(mbchar); end
2362
-
2363
- # source://reline//lib/reline/unicode.rb#250
2364
- def get_next_mbchar_size(line, byte_pointer); end
2365
-
2366
- # source://reline//lib/reline/unicode.rb#255
2367
- def get_prev_mbchar_size(line, byte_pointer); end
2368
-
2369
- # source://reline//lib/reline/unicode.rb#57
2370
- def safe_encode(str, encoding); end
2371
-
2372
- # @return [Boolean]
2373
- #
2374
- # source://reline//lib/reline/unicode.rb#412
2375
- def space_character?(s); end
2376
-
2377
- # This method is used by IRB
2378
- #
2379
- # source://reline//lib/reline/unicode.rb#125
2380
- def split_by_width(str, max_width); end
2381
-
2382
- # source://reline//lib/reline/unicode.rb#130
2383
- def split_line_by_width(str, max_width, encoding = T.unsafe(nil), offset: T.unsafe(nil)); end
2384
-
2385
- # source://reline//lib/reline/unicode.rb#172
2386
- def strip_non_printing_start_end(prompt); end
2387
-
2388
- # source://reline//lib/reline/unicode.rb#181
2389
- def take_mbchar_range(str, start_col, width, cover_begin: T.unsafe(nil), cover_end: T.unsafe(nil), padding: T.unsafe(nil)); end
2390
-
2391
- # Take a chunk of a String cut by width with escape sequences.
2392
- #
2393
- # source://reline//lib/reline/unicode.rb#177
2394
- def take_range(str, start_col, max_width); end
2395
-
2396
- # source://reline//lib/reline/unicode.rb#378
2397
- def vi_backward_word(line, byte_pointer); end
2398
-
2399
- # source://reline//lib/reline/unicode.rb#333
2400
- def vi_big_backward_word(line, byte_pointer); end
2401
-
2402
- # source://reline//lib/reline/unicode.rb#323
2403
- def vi_big_forward_end_word(line, byte_pointer); end
2404
-
2405
- # source://reline//lib/reline/unicode.rb#316
2406
- def vi_big_forward_word(line, byte_pointer); end
2407
-
2408
- # source://reline//lib/reline/unicode.rb#400
2409
- def vi_first_print(line); end
2410
-
2411
- # source://reline//lib/reline/unicode.rb#360
2412
- def vi_forward_end_word(line, byte_pointer); end
2413
-
2414
- # source://reline//lib/reline/unicode.rb#340
2415
- def vi_forward_word(line, byte_pointer, drop_terminate_spaces = T.unsafe(nil)); end
2416
-
2417
- # @return [Boolean]
2418
- #
2419
- # source://reline//lib/reline/unicode.rb#406
2420
- def word_character?(s); end
2421
- end
2422
- end
2423
-
2424
- # source://reline//lib/reline/unicode.rb#40
2425
- Reline::Unicode::CSI_REGEXP = T.let(T.unsafe(nil), Regexp)
2426
-
2427
- # source://reline//lib/reline/unicode/east_asian_width.rb#5
2428
- Reline::Unicode::EastAsianWidth::CHUNK_LAST = T.let(T.unsafe(nil), Array)
2429
-
2430
- # source://reline//lib/reline/unicode/east_asian_width.rb#5
2431
- Reline::Unicode::EastAsianWidth::CHUNK_WIDTH = T.let(T.unsafe(nil), Array)
2432
-
2433
- # C-? C-8
2434
- #
2435
- # source://reline//lib/reline/unicode.rb#36
2436
- Reline::Unicode::EscapedChars = T.let(T.unsafe(nil), Array)
2437
-
2438
- # source://reline//lib/reline/unicode.rb#2
2439
- Reline::Unicode::EscapedPairs = T.let(T.unsafe(nil), Hash)
2440
-
2441
- # source://reline//lib/reline/unicode.rb#39
2442
- Reline::Unicode::NON_PRINTING_END = T.let(T.unsafe(nil), String)
2443
-
2444
- # source://reline//lib/reline/unicode.rb#38
2445
- Reline::Unicode::NON_PRINTING_START = T.let(T.unsafe(nil), String)
2446
-
2447
- # source://reline//lib/reline/unicode.rb#41
2448
- Reline::Unicode::OSC_REGEXP = T.let(T.unsafe(nil), Regexp)
2449
-
2450
- # source://reline//lib/reline/unicode.rb#42
2451
- Reline::Unicode::WIDTH_SCANNER = T.let(T.unsafe(nil), Regexp)
2452
-
2453
- # source://reline//lib/reline/version.rb#2
2454
- Reline::VERSION = T.let(T.unsafe(nil), String)