titleist 0.1.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/tests.yml +19 -0
  3. data/.gitignore +1 -2
  4. data/.rubocop.yml +26 -1
  5. data/.ruby-version +1 -1
  6. data/Gemfile +13 -2
  7. data/README.md +95 -25
  8. data/Rakefile +17 -6
  9. data/docs/index.md +7 -0
  10. data/lib/generators/titleist/titleist_generator.rb +3 -0
  11. data/lib/titleist.rb +14 -9
  12. data/lib/titleist/controller.rb +36 -0
  13. data/lib/titleist/engine.rb +10 -4
  14. data/lib/titleist/helper.rb +23 -0
  15. data/lib/titleist/title.rb +52 -89
  16. data/lib/titleist/version.rb +5 -1
  17. data/rbi/sord.rbi +117 -0
  18. data/sorbet/config +2 -0
  19. data/sorbet/rbi/gems/actioncable.rbi +318 -0
  20. data/sorbet/rbi/gems/actionmailbox.rbi +56 -0
  21. data/sorbet/rbi/gems/actionmailer.rbi +446 -0
  22. data/sorbet/rbi/gems/actionpack.rbi +3411 -0
  23. data/sorbet/rbi/gems/actiontext.rbi +79 -0
  24. data/sorbet/rbi/gems/actionview.rbi +1185 -0
  25. data/sorbet/rbi/gems/activejob.rbi +362 -0
  26. data/sorbet/rbi/gems/activemodel.rbi +749 -0
  27. data/sorbet/rbi/gems/activerecord.rbi +5713 -0
  28. data/sorbet/rbi/gems/activestorage.rbi +221 -0
  29. data/sorbet/rbi/gems/activesupport.rbi +2437 -0
  30. data/sorbet/rbi/gems/addressable.rbi +146 -0
  31. data/sorbet/rbi/gems/ast.rbi +47 -0
  32. data/sorbet/rbi/gems/capybara.rbi +1787 -0
  33. data/sorbet/rbi/gems/childprocess.rbi +106 -0
  34. data/sorbet/rbi/gems/codeclimate-test-reporter.rbi +125 -0
  35. data/sorbet/rbi/gems/concurrent-ruby.rbi +1587 -0
  36. data/sorbet/rbi/gems/crass.rbi +92 -0
  37. data/sorbet/rbi/gems/docile.rbi +29 -0
  38. data/sorbet/rbi/gems/erubi.rbi +26 -0
  39. data/sorbet/rbi/gems/globalid.rbi +98 -0
  40. data/sorbet/rbi/gems/i18n.rbi +191 -0
  41. data/sorbet/rbi/gems/jaro_winkler.rbi +14 -0
  42. data/sorbet/rbi/gems/loofah.rbi +129 -0
  43. data/sorbet/rbi/gems/mail.rbi +1582 -0
  44. data/sorbet/rbi/gems/marcel.rbi +12 -0
  45. data/sorbet/rbi/gems/method_source.rbi +63 -0
  46. data/sorbet/rbi/gems/mini_mime.rbi +51 -0
  47. data/sorbet/rbi/gems/minitest.rbi +419 -0
  48. data/sorbet/rbi/gems/mocha.rbi +794 -0
  49. data/sorbet/rbi/gems/nio4r.rbi +67 -0
  50. data/sorbet/rbi/gems/nokogiri.rbi +1010 -0
  51. data/sorbet/rbi/gems/parallel.rbi +81 -0
  52. data/sorbet/rbi/gems/parser.rbi +920 -0
  53. data/sorbet/rbi/gems/public_suffix.rbi +103 -0
  54. data/sorbet/rbi/gems/puma.rbi +586 -0
  55. data/sorbet/rbi/gems/rack-test.rbi +161 -0
  56. data/sorbet/rbi/gems/rack.rbi +634 -0
  57. data/sorbet/rbi/gems/rails-dom-testing.rbi +67 -0
  58. data/sorbet/rbi/gems/rails-html-sanitizer.rbi +91 -0
  59. data/sorbet/rbi/gems/railties.rbi +834 -0
  60. data/sorbet/rbi/gems/rainbow.rbi +117 -0
  61. data/sorbet/rbi/gems/rake.rbi +269 -0
  62. data/sorbet/rbi/gems/regexp_parser.rbi +912 -0
  63. data/sorbet/rbi/gems/rubocop.rbi +7232 -0
  64. data/sorbet/rbi/gems/ruby-progressbar.rbi +304 -0
  65. data/sorbet/rbi/gems/rubyzip.rbi +546 -0
  66. data/sorbet/rbi/gems/selenium-webdriver.rbi +1450 -0
  67. data/sorbet/rbi/gems/simplecov-html.rbi +30 -0
  68. data/sorbet/rbi/gems/simplecov.rbi +189 -0
  69. data/sorbet/rbi/gems/site_ruby.rbi +265 -0
  70. data/sorbet/rbi/gems/sprockets-rails.rbi +105 -0
  71. data/sorbet/rbi/gems/sprockets.rbi +753 -0
  72. data/sorbet/rbi/gems/sqlite3.rbi +353 -0
  73. data/sorbet/rbi/gems/thor.rbi +579 -0
  74. data/sorbet/rbi/gems/thread_safe.rbi +81 -0
  75. data/sorbet/rbi/gems/tzinfo.rbi +405 -0
  76. data/sorbet/rbi/gems/unicode-display_width.rbi +16 -0
  77. data/sorbet/rbi/gems/webdrivers.rbi +155 -0
  78. data/sorbet/rbi/gems/xpath.rbi +158 -0
  79. data/sorbet/rbi/gems/yard.rbi +1159 -0
  80. data/sorbet/rbi/hidden-definitions/errors.txt +14957 -0
  81. data/sorbet/rbi/hidden-definitions/hidden.rbi +24898 -0
  82. data/sorbet/rbi/sorbet-typed/lib/actionmailer/all/actionmailer.rbi +13 -0
  83. data/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +938 -0
  84. data/sorbet/rbi/sorbet-typed/lib/actionview/all/actionview.rbi +314 -0
  85. data/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +425 -0
  86. data/sorbet/rbi/sorbet-typed/lib/activerecord/>=5.2/activerecord.rbi +17 -0
  87. data/sorbet/rbi/sorbet-typed/lib/activerecord/all/activerecord.rbi +1425 -0
  88. data/sorbet/rbi/sorbet-typed/lib/activerecord/~>6.0.0/activerecord.rbi +475 -0
  89. data/sorbet/rbi/sorbet-typed/lib/activestorage/>=6.0.0/activestorage.rbi +19 -0
  90. data/sorbet/rbi/sorbet-typed/lib/activestorage/all/activestorage.rbi +173 -0
  91. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +23 -0
  92. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +858 -0
  93. data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8684 -0
  94. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
  95. data/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +25 -0
  96. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +254 -0
  97. data/sorbet/rbi/sorbet-typed/lib/ruby/all/gem.rbi +4222 -0
  98. data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
  99. data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
  100. data/sorbet/rbi/todo.rbi +20 -0
  101. data/titleist.gemspec +3 -14
  102. metadata +96 -155
  103. data/.travis.yml +0 -45
  104. data/app/controllers/.keep +0 -0
  105. data/app/helpers/.keep +0 -0
  106. data/app/helpers/titleist_helper.rb +0 -47
  107. data/app/mailers/.keep +0 -0
  108. data/app/models/.keep +0 -0
  109. data/app/views/.keep +0 -0
@@ -0,0 +1,106 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: strong
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/childprocess/all/childprocess.rbi
9
+ #
10
+ # childprocess-3.0.0
11
+ module ChildProcess
12
+ def self.arch; end
13
+ def self.build(*args); end
14
+ def self.close_on_exec(file); end
15
+ def self.is_64_bit?; end
16
+ def self.jruby?; end
17
+ def self.linux?; end
18
+ def self.logger; end
19
+ def self.logger=(arg0); end
20
+ def self.new(*args); end
21
+ def self.os; end
22
+ def self.platform; end
23
+ def self.platform_name; end
24
+ def self.posix_spawn=(bool); end
25
+ def self.posix_spawn?; end
26
+ def self.unix?; end
27
+ def self.warn_once(msg); end
28
+ def self.windows?; end
29
+ def self.workaround_older_macosx_misreported_cpu?; end
30
+ end
31
+ class ChildProcess::Error < StandardError
32
+ end
33
+ class ChildProcess::TimeoutError < ChildProcess::Error
34
+ end
35
+ class ChildProcess::SubclassResponsibility < ChildProcess::Error
36
+ end
37
+ class ChildProcess::InvalidEnvironmentVariable < ChildProcess::Error
38
+ end
39
+ class ChildProcess::LaunchError < ChildProcess::Error
40
+ end
41
+ class ChildProcess::MissingFFIError < ChildProcess::Error
42
+ def initialize; end
43
+ end
44
+ class ChildProcess::MissingPlatformError < ChildProcess::Error
45
+ def initialize; end
46
+ end
47
+ class ChildProcess::AbstractProcess
48
+ def alive?; end
49
+ def assert_started; end
50
+ def crashed?; end
51
+ def cwd; end
52
+ def cwd=(arg0); end
53
+ def detach; end
54
+ def detach=(arg0); end
55
+ def detach?; end
56
+ def duplex; end
57
+ def duplex=(arg0); end
58
+ def duplex?; end
59
+ def environment; end
60
+ def exit_code; end
61
+ def exited?; end
62
+ def initialize(args); end
63
+ def io; end
64
+ def launch_process; end
65
+ def leader; end
66
+ def leader=(arg0); end
67
+ def leader?; end
68
+ def log(*args); end
69
+ def pid; end
70
+ def poll_for_exit(timeout); end
71
+ def start; end
72
+ def started?; end
73
+ def stop(timeout = nil); end
74
+ def wait; end
75
+ end
76
+ class ChildProcess::AbstractIO
77
+ def _stdin=(io); end
78
+ def check_type(io); end
79
+ def inherit!; end
80
+ def stderr; end
81
+ def stderr=(io); end
82
+ def stdin; end
83
+ def stdout; end
84
+ def stdout=(io); end
85
+ end
86
+ module ChildProcess::Unix
87
+ end
88
+ class ChildProcess::Unix::IO < ChildProcess::AbstractIO
89
+ def check_type(io); end
90
+ end
91
+ class ChildProcess::Unix::Process < ChildProcess::AbstractProcess
92
+ def _pid; end
93
+ def exited?; end
94
+ def io; end
95
+ def pid; end
96
+ def send_kill; end
97
+ def send_signal(sig); end
98
+ def send_term; end
99
+ def set_exit_code(status); end
100
+ def stop(timeout = nil); end
101
+ def wait; end
102
+ end
103
+ class ChildProcess::Unix::ForkExecProcess < ChildProcess::Unix::Process
104
+ def launch_process; end
105
+ def set_env; end
106
+ end
@@ -0,0 +1,125 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: strong
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/codeclimate-test-reporter/all/codeclimate-test-reporter.rbi
9
+ #
10
+ # codeclimate-test-reporter-1.0.9
11
+ module CodeClimate
12
+ end
13
+ module CodeClimate::TestReporter
14
+ def self.ci_service_data; end
15
+ def self.configuration; end
16
+ def self.configure; end
17
+ def self.configured_branch; end
18
+ def self.current_branch; end
19
+ def self.environment_variable_set?; end
20
+ def self.logger; end
21
+ def self.run(results); end
22
+ def self.run?; end
23
+ def self.run_on_current_branch?; end
24
+ def self.start; end
25
+ def self.tddium?; end
26
+ end
27
+ class CodeClimate::TestReporter::CalculateBlob
28
+ def blob_id; end
29
+ def calculate_with_file; end
30
+ def calculate_with_git; end
31
+ def initialize(file_path); end
32
+ end
33
+ class CodeClimate::TestReporter::Client
34
+ def batch_post_results(files); end
35
+ def ca_file; end
36
+ def compress(str); end
37
+ def host; end
38
+ def http_client(uri); end
39
+ def post_results(result); end
40
+ end
41
+ class CodeClimate::TestReporter::PostResults
42
+ def initialize(results); end
43
+ def post; end
44
+ def write_to_file?; end
45
+ end
46
+ class CodeClimate::TestReporter::ShortenFilename
47
+ def apply_prefix(filename); end
48
+ def initialize(filename); end
49
+ def short_filename; end
50
+ end
51
+ class CodeClimate::TestReporter::WebMockMessage
52
+ def instructions; end
53
+ def library_name; end
54
+ end
55
+ class CodeClimate::TestReporter::VCRMessage
56
+ def instructions; end
57
+ def library_name; end
58
+ end
59
+ class CodeClimate::TestReporter::ExceptionMessage
60
+ def exception_class; end
61
+ def http_stubbing_exception; end
62
+ def initialize(exception); end
63
+ def message; end
64
+ end
65
+ class CodeClimate::TestReporter::InvalidPayload < StandardError
66
+ end
67
+ class CodeClimate::TestReporter::PayloadValidator
68
+ def commit_sha; end
69
+ def commit_sha_from_ci_service; end
70
+ def commit_sha_from_git; end
71
+ def committed_at; end
72
+ def initialize(payload); end
73
+ def run_at; end
74
+ def self.validate(payload); end
75
+ def source_files?; end
76
+ def valid_source_file?(file); end
77
+ def valid_source_files?; end
78
+ def validate; end
79
+ end
80
+ class CodeClimate::TestReporter::Formatter
81
+ def format(results); end
82
+ def merge_results(results); end
83
+ def partial?; end
84
+ def round(numeric, precision); end
85
+ def to_payload(result); end
86
+ end
87
+ class CodeClimate::TestReporter::Configuration
88
+ def branch; end
89
+ def branch=(arg0); end
90
+ def default_logger; end
91
+ def git_dir; end
92
+ def git_dir=(arg0); end
93
+ def gzip_request; end
94
+ def gzip_request=(arg0); end
95
+ def initialize; end
96
+ def logger; end
97
+ def logger=(arg0); end
98
+ def path_prefix; end
99
+ def path_prefix=(arg0); end
100
+ def profile; end
101
+ def profile=(arg0); end
102
+ def skip_token; end
103
+ def timeout; end
104
+ def timeout=(arg0); end
105
+ end
106
+ class CodeClimate::TestReporter::Git
107
+ def self.branch_from_git; end
108
+ def self.branch_from_git_or_ci; end
109
+ def self.clean_git_branch; end
110
+ def self.clean_service_branch; end
111
+ def self.committed_at_from_ci; end
112
+ def self.committed_at_from_git; end
113
+ def self.committed_at_from_git_or_ci; end
114
+ def self.configured_git_dir; end
115
+ def self.git(command); end
116
+ def self.git_dir; end
117
+ def self.head_from_ci; end
118
+ def self.head_from_git; end
119
+ def self.head_from_git_or_ci; end
120
+ def self.info; end
121
+ def self.rails_git_dir_present?; end
122
+ end
123
+ class CodeClimate::TestReporter::Ci
124
+ def self.service_data(env = nil); end
125
+ end
@@ -0,0 +1,1587 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: true
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/concurrent-ruby/all/concurrent-ruby.rbi
9
+ #
10
+ # concurrent-ruby-1.1.5
11
+ module Concurrent
12
+ def abort_transaction; end
13
+ def atomically; end
14
+ def call_dataflow(method, executor, *inputs, &block); end
15
+ def dataflow!(*inputs, &block); end
16
+ def dataflow(*inputs, &block); end
17
+ def dataflow_with!(executor, *inputs, &block); end
18
+ def dataflow_with(executor, *inputs, &block); end
19
+ def leave_transaction; end
20
+ def monotonic_time; end
21
+ def self.abort_transaction; end
22
+ def self.atomically; end
23
+ def self.call_dataflow(method, executor, *inputs, &block); end
24
+ def self.create_simple_logger(level = nil, output = nil); end
25
+ def self.create_stdlib_logger(level = nil, output = nil); end
26
+ def self.dataflow!(*inputs, &block); end
27
+ def self.dataflow(*inputs, &block); end
28
+ def self.dataflow_with!(executor, *inputs, &block); end
29
+ def self.dataflow_with(executor, *inputs, &block); end
30
+ def self.disable_at_exit_handlers!; end
31
+ def self.executor(executor_identifier); end
32
+ def self.global_fast_executor; end
33
+ def self.global_immediate_executor; end
34
+ def self.global_io_executor; end
35
+ def self.global_logger; end
36
+ def self.global_logger=(value); end
37
+ def self.global_timer_set; end
38
+ def self.leave_transaction; end
39
+ def self.monotonic_time; end
40
+ def self.new_fast_executor(opts = nil); end
41
+ def self.new_io_executor(opts = nil); end
42
+ def self.physical_processor_count; end
43
+ def self.processor_count; end
44
+ def self.processor_counter; end
45
+ def self.use_simple_logger(level = nil, output = nil); end
46
+ def self.use_stdlib_logger(level = nil, output = nil); end
47
+ extend Concurrent::Concern::Logging
48
+ extend Concurrent::Utility::EngineDetector
49
+ extend Concurrent::Utility::NativeExtensionLoader
50
+ end
51
+ module Concurrent::Utility
52
+ end
53
+ module Concurrent::Utility::EngineDetector
54
+ def on_cruby?; end
55
+ def on_jruby?; end
56
+ def on_jruby_9000?; end
57
+ def on_linux?; end
58
+ def on_osx?; end
59
+ def on_rbx?; end
60
+ def on_truffleruby?; end
61
+ def on_windows?; end
62
+ def ruby_engine; end
63
+ def ruby_version(version = nil, comparison, major, minor, patch); end
64
+ end
65
+ module Concurrent::Synchronization
66
+ end
67
+ class Concurrent::Synchronization::AbstractObject
68
+ def full_memory_barrier; end
69
+ def initialize; end
70
+ def self.attr_volatile(*names); end
71
+ end
72
+ module Concurrent::Utility::NativeExtensionLoader
73
+ def allow_c_extensions?; end
74
+ def c_extensions_loaded?; end
75
+ def java_extensions_loaded?; end
76
+ def load_error_path(error); end
77
+ def load_native_extensions; end
78
+ def set_c_extensions_loaded; end
79
+ def set_java_extensions_loaded; end
80
+ def try_load_c_extension(path); end
81
+ end
82
+ module Concurrent::Synchronization::MriAttrVolatile
83
+ def full_memory_barrier; end
84
+ def self.included(base); end
85
+ end
86
+ module Concurrent::Synchronization::MriAttrVolatile::ClassMethods
87
+ def attr_volatile(*names); end
88
+ end
89
+ class Concurrent::Synchronization::MriObject < Concurrent::Synchronization::AbstractObject
90
+ def initialize; end
91
+ extend Concurrent::Synchronization::MriAttrVolatile::ClassMethods
92
+ include Concurrent::Synchronization::MriAttrVolatile
93
+ end
94
+ module Concurrent::Synchronization::RbxAttrVolatile
95
+ def full_memory_barrier; end
96
+ def self.included(base); end
97
+ end
98
+ module Concurrent::Synchronization::RbxAttrVolatile::ClassMethods
99
+ def attr_volatile(*names); end
100
+ end
101
+ class Concurrent::Synchronization::RbxObject < Concurrent::Synchronization::AbstractObject
102
+ def initialize; end
103
+ extend Concurrent::Synchronization::RbxAttrVolatile::ClassMethods
104
+ include Concurrent::Synchronization::RbxAttrVolatile
105
+ end
106
+ module Concurrent::Synchronization::TruffleRubyAttrVolatile
107
+ def full_memory_barrier; end
108
+ def self.included(base); end
109
+ end
110
+ module Concurrent::Synchronization::TruffleRubyAttrVolatile::ClassMethods
111
+ def attr_volatile(*names); end
112
+ end
113
+ class Concurrent::Synchronization::TruffleRubyObject < Concurrent::Synchronization::AbstractObject
114
+ def initialize; end
115
+ extend Concurrent::Synchronization::TruffleRubyAttrVolatile::ClassMethods
116
+ include Concurrent::Synchronization::TruffleRubyAttrVolatile
117
+ end
118
+ class Concurrent::Synchronization::Object < Concurrent::Synchronization::MriObject
119
+ def __initialize_atomic_fields__; end
120
+ def initialize; end
121
+ def self.atomic_attribute?(name); end
122
+ def self.atomic_attributes(inherited = nil); end
123
+ def self.attr_atomic(*names); end
124
+ def self.define_initialize_atomic_fields; end
125
+ def self.ensure_safe_initialization_when_final_fields_are_present; end
126
+ def self.safe_initialization!; end
127
+ def self.safe_initialization?; end
128
+ end
129
+ class Concurrent::Synchronization::AbstractLockableObject < Concurrent::Synchronization::Object
130
+ def ns_broadcast; end
131
+ def ns_signal; end
132
+ def ns_wait(timeout = nil); end
133
+ def ns_wait_until(timeout = nil, &condition); end
134
+ def synchronize; end
135
+ end
136
+ module Concurrent::Synchronization::ConditionSignalling
137
+ def ns_broadcast; end
138
+ def ns_signal; end
139
+ end
140
+ class Concurrent::Synchronization::MutexLockableObject < Concurrent::Synchronization::AbstractLockableObject
141
+ def initialize(*defaults); end
142
+ def ns_wait(timeout = nil); end
143
+ def self.new(*args, &block); end
144
+ def synchronize; end
145
+ include Concurrent::Synchronization::ConditionSignalling
146
+ end
147
+ class Concurrent::Synchronization::MonitorLockableObject < Concurrent::Synchronization::AbstractLockableObject
148
+ def initialize(*defaults); end
149
+ def ns_wait(timeout = nil); end
150
+ def self.new(*args, &block); end
151
+ def synchronize; end
152
+ include Concurrent::Synchronization::ConditionSignalling
153
+ end
154
+ class Concurrent::Synchronization::RbxLockableObject < Concurrent::Synchronization::AbstractLockableObject
155
+ def initialize(*defaults); end
156
+ def ns_broadcast; end
157
+ def ns_signal; end
158
+ def ns_wait(timeout = nil); end
159
+ def self.new(*args, &block); end
160
+ def synchronize(&block); end
161
+ end
162
+ class Concurrent::Synchronization::LockableObject < Concurrent::Synchronization::MutexLockableObject
163
+ def new_condition; end
164
+ end
165
+ class Concurrent::Synchronization::Condition < Concurrent::Synchronization::LockableObject
166
+ def broadcast; end
167
+ def initialize(lock); end
168
+ def ns_broadcast; end
169
+ def ns_signal; end
170
+ def ns_wait(timeout = nil); end
171
+ def ns_wait_until(timeout = nil, &condition); end
172
+ def self.new(*args, &block); end
173
+ def self.private_new(*args, &block); end
174
+ def signal; end
175
+ def wait(timeout = nil); end
176
+ def wait_until(timeout = nil, &condition); end
177
+ end
178
+ class Concurrent::Synchronization::Lock < Concurrent::Synchronization::LockableObject
179
+ def broadcast; end
180
+ def ns_broadcast; end
181
+ def ns_signal; end
182
+ def ns_wait(timeout = nil); end
183
+ def ns_wait_until(timeout = nil, &condition); end
184
+ def signal; end
185
+ def synchronize; end
186
+ def wait(timeout = nil); end
187
+ def wait_until(timeout = nil, &condition); end
188
+ end
189
+ module Concurrent::Collection
190
+ end
191
+ class Concurrent::Collection::NonConcurrentMapBackend
192
+ def [](key); end
193
+ def []=(key, value); end
194
+ def _get(key); end
195
+ def _set(key, value); end
196
+ def clear; end
197
+ def compute(key); end
198
+ def compute_if_absent(key); end
199
+ def compute_if_present(key); end
200
+ def delete(key); end
201
+ def delete_pair(key, value); end
202
+ def dupped_backend; end
203
+ def each_pair; end
204
+ def get_and_set(key, value); end
205
+ def get_or_default(key, default_value); end
206
+ def initialize(options = nil); end
207
+ def initialize_copy(other); end
208
+ def key?(key); end
209
+ def merge_pair(key, value); end
210
+ def pair?(key, expected_value); end
211
+ def replace_if_exists(key, new_value); end
212
+ def replace_pair(key, old_value, new_value); end
213
+ def size; end
214
+ def store_computed_value(key, new_value); end
215
+ end
216
+ class Concurrent::Collection::MriMapBackend < Concurrent::Collection::NonConcurrentMapBackend
217
+ def []=(key, value); end
218
+ def clear; end
219
+ def compute(key); end
220
+ def compute_if_absent(key); end
221
+ def compute_if_present(key); end
222
+ def delete(key); end
223
+ def delete_pair(key, value); end
224
+ def get_and_set(key, value); end
225
+ def initialize(options = nil); end
226
+ def merge_pair(key, value); end
227
+ def replace_if_exists(key, new_value); end
228
+ def replace_pair(key, old_value, new_value); end
229
+ end
230
+ class Concurrent::Map < Concurrent::Collection::MriMapBackend
231
+ def [](key); end
232
+ def each; end
233
+ def each_key; end
234
+ def each_pair; end
235
+ def each_value; end
236
+ def empty?; end
237
+ def fetch(key, default_value = nil); end
238
+ def fetch_or_store(key, default_value = nil); end
239
+ def get(key); end
240
+ def initialize(options = nil, &block); end
241
+ def initialize_copy(other); end
242
+ def inspect; end
243
+ def key(value); end
244
+ def keys; end
245
+ def marshal_dump; end
246
+ def marshal_load(hash); end
247
+ def populate_from(hash); end
248
+ def put(key, value); end
249
+ def put_if_absent(key, value); end
250
+ def raise_fetch_no_key; end
251
+ def validate_options_hash!(options); end
252
+ def value?(value); end
253
+ def values; end
254
+ end
255
+ class Concurrent::Error < StandardError
256
+ end
257
+ class Concurrent::ConfigurationError < Concurrent::Error
258
+ end
259
+ class Concurrent::CancelledOperationError < Concurrent::Error
260
+ end
261
+ class Concurrent::LifecycleError < Concurrent::Error
262
+ end
263
+ class Concurrent::ImmutabilityError < Concurrent::Error
264
+ end
265
+ class Concurrent::IllegalOperationError < Concurrent::Error
266
+ end
267
+ class Concurrent::InitializationError < Concurrent::Error
268
+ end
269
+ class Concurrent::MaxRestartFrequencyError < Concurrent::Error
270
+ end
271
+ class Concurrent::MultipleAssignmentError < Concurrent::Error
272
+ def initialize(message = nil, inspection_data = nil); end
273
+ def inspect; end
274
+ def inspection_data; end
275
+ end
276
+ class Concurrent::RejectedExecutionError < Concurrent::Error
277
+ end
278
+ class Concurrent::ResourceLimitError < Concurrent::Error
279
+ end
280
+ class Concurrent::TimeoutError < Concurrent::Error
281
+ end
282
+ class Concurrent::MultipleErrors < Concurrent::Error
283
+ def errors; end
284
+ def initialize(errors, message = nil); end
285
+ end
286
+ class Concurrent::Event < Concurrent::Synchronization::LockableObject
287
+ def initialize; end
288
+ def ns_initialize; end
289
+ def ns_set; end
290
+ def reset; end
291
+ def set; end
292
+ def set?; end
293
+ def try?; end
294
+ def wait(timeout = nil); end
295
+ end
296
+ module Concurrent::Concern
297
+ end
298
+ module Concurrent::Concern::Dereferenceable
299
+ def apply_deref_options(value); end
300
+ def deref; end
301
+ def ns_set_deref_options(opts); end
302
+ def set_deref_options(opts = nil); end
303
+ def value; end
304
+ def value=(value); end
305
+ end
306
+ module Concurrent::Concern::Obligation
307
+ def compare_and_set_state(next_state, *expected_current); end
308
+ def complete?; end
309
+ def event; end
310
+ def exception(*args); end
311
+ def fulfilled?; end
312
+ def get_arguments_from(opts = nil); end
313
+ def if_state(*expected_states); end
314
+ def incomplete?; end
315
+ def init_obligation; end
316
+ def no_error!(timeout = nil); end
317
+ def ns_check_state?(expected); end
318
+ def ns_set_state(value); end
319
+ def pending?; end
320
+ def realized?; end
321
+ def reason; end
322
+ def rejected?; end
323
+ def set_state(success, value, reason); end
324
+ def state; end
325
+ def state=(value); end
326
+ def unscheduled?; end
327
+ def value!(timeout = nil); end
328
+ def value(timeout = nil); end
329
+ def wait!(timeout = nil); end
330
+ def wait(timeout = nil); end
331
+ include Concurrent::Concern::Dereferenceable
332
+ end
333
+ module Concurrent::Concern::Logging
334
+ def log(level, progname, message = nil, &block); end
335
+ include Logger::Severity
336
+ end
337
+ module Concurrent::ExecutorService
338
+ def <<(task); end
339
+ def can_overflow?; end
340
+ def post(*args, &task); end
341
+ def serialized?; end
342
+ include Concurrent::Concern::Logging
343
+ end
344
+ class Concurrent::AtExitImplementation < Concurrent::Synchronization::LockableObject
345
+ def add(handler_id = nil, &handler); end
346
+ def delete(handler_id); end
347
+ def enabled=(value); end
348
+ def enabled?; end
349
+ def handler?(handler_id); end
350
+ def handlers; end
351
+ def initialize(*args); end
352
+ def install; end
353
+ def ns_initialize(enabled = nil); end
354
+ def run; end
355
+ def runner; end
356
+ include Logger::Severity
357
+ end
358
+ class Concurrent::AbstractExecutorService < Concurrent::Synchronization::LockableObject
359
+ def auto_terminate=(value); end
360
+ def auto_terminate?; end
361
+ def fallback_policy; end
362
+ def handle_fallback(*args); end
363
+ def initialize(*args, &block); end
364
+ def kill; end
365
+ def ns_auto_terminate=(value); end
366
+ def ns_auto_terminate?; end
367
+ def ns_execute(*args, &task); end
368
+ def ns_kill_execution; end
369
+ def ns_shutdown_execution; end
370
+ def running?; end
371
+ def shutdown; end
372
+ def shutdown?; end
373
+ def shuttingdown?; end
374
+ def terminate_at_exit; end
375
+ def wait_for_termination(timeout = nil); end
376
+ include Concurrent::ExecutorService
377
+ end
378
+ module Concurrent::SerialExecutorService
379
+ def serialized?; end
380
+ include Concurrent::ExecutorService
381
+ end
382
+ class Concurrent::ImmediateExecutor < Concurrent::AbstractExecutorService
383
+ def <<(task); end
384
+ def initialize; end
385
+ def kill; end
386
+ def post(*args, &task); end
387
+ def running?; end
388
+ def shutdown; end
389
+ def shutdown?; end
390
+ def shuttingdown?; end
391
+ def wait_for_termination(timeout = nil); end
392
+ include Concurrent::SerialExecutorService
393
+ end
394
+ class Concurrent::Delay < Concurrent::Synchronization::LockableObject
395
+ def execute_task_once; end
396
+ def initialize(opts = nil, &block); end
397
+ def ns_initialize(opts, &block); end
398
+ def reconfigure(&block); end
399
+ def value!(timeout = nil); end
400
+ def value(timeout = nil); end
401
+ def wait(timeout = nil); end
402
+ include Concurrent::Concern::Obligation
403
+ end
404
+ module Concurrent::AtomicNumericCompareAndSetWrapper
405
+ def compare_and_set(old_value, new_value); end
406
+ end
407
+ class Concurrent::MutexAtomicReference < Concurrent::Synchronization::LockableObject
408
+ def _compare_and_set(old_value, new_value); end
409
+ def compare_and_swap(old_value, new_value); end
410
+ def get; end
411
+ def get_and_set(new_value); end
412
+ def initialize(value = nil); end
413
+ def ns_initialize(value); end
414
+ def set(new_value); end
415
+ def swap(new_value); end
416
+ def value; end
417
+ def value=(new_value); end
418
+ include Concurrent::AtomicDirectUpdate
419
+ include Concurrent::AtomicNumericCompareAndSetWrapper
420
+ end
421
+ module Concurrent::AtomicDirectUpdate
422
+ def try_update!; end
423
+ def try_update; end
424
+ def update; end
425
+ end
426
+ class Concurrent::ConcurrentUpdateError < ThreadError
427
+ end
428
+ class Concurrent::AtomicReference < Concurrent::MutexAtomicReference
429
+ def inspect; end
430
+ def to_s; end
431
+ end
432
+ class Concurrent::RubyExecutorService < Concurrent::AbstractExecutorService
433
+ def initialize(*args, &block); end
434
+ def kill; end
435
+ def ns_running?; end
436
+ def ns_shutdown?; end
437
+ def ns_shutdown_execution; end
438
+ def ns_shuttingdown?; end
439
+ def post(*args, &task); end
440
+ def shutdown; end
441
+ def stop_event; end
442
+ def stopped_event; end
443
+ def wait_for_termination(timeout = nil); end
444
+ end
445
+ class Concurrent::RubyThreadPoolExecutor < Concurrent::RubyExecutorService
446
+ def can_overflow?; end
447
+ def completed_task_count; end
448
+ def idletime; end
449
+ def initialize(opts = nil); end
450
+ def largest_length; end
451
+ def length; end
452
+ def max_length; end
453
+ def max_queue; end
454
+ def min_length; end
455
+ def ns_add_busy_worker; end
456
+ def ns_assign_worker(*args, &task); end
457
+ def ns_enqueue(*args, &task); end
458
+ def ns_execute(*args, &task); end
459
+ def ns_initialize(opts); end
460
+ def ns_kill_execution; end
461
+ def ns_limited_queue?; end
462
+ def ns_prune_pool; end
463
+ def ns_ready_worker(worker, success = nil); end
464
+ def ns_remove_busy_worker(worker); end
465
+ def ns_reset_if_forked; end
466
+ def ns_shutdown_execution; end
467
+ def ns_worker_died(worker); end
468
+ def ns_worker_not_old_enough(worker); end
469
+ def queue_length; end
470
+ def ready_worker(worker); end
471
+ def remaining_capacity; end
472
+ def remove_busy_worker(worker); end
473
+ def scheduled_task_count; end
474
+ def worker_died(worker); end
475
+ def worker_not_old_enough(worker); end
476
+ def worker_task_completed; end
477
+ end
478
+ class Concurrent::RubyThreadPoolExecutor::Worker
479
+ def <<(message); end
480
+ def create_worker(queue, pool, idletime); end
481
+ def initialize(pool); end
482
+ def kill; end
483
+ def run_task(pool, task, args); end
484
+ def stop; end
485
+ include Concurrent::Concern::Logging
486
+ end
487
+ class Concurrent::ThreadPoolExecutor < Concurrent::RubyThreadPoolExecutor
488
+ end
489
+ class Concurrent::CachedThreadPool < Concurrent::ThreadPoolExecutor
490
+ def initialize(opts = nil); end
491
+ def ns_initialize(opts); end
492
+ end
493
+ class Concurrent::Utility::ProcessorCounter
494
+ def compute_physical_processor_count; end
495
+ def compute_processor_count; end
496
+ def initialize; end
497
+ def physical_processor_count; end
498
+ def processor_count; end
499
+ end
500
+ class Concurrent::MutexAtomicBoolean < Concurrent::Synchronization::LockableObject
501
+ def false?; end
502
+ def initialize(initial = nil); end
503
+ def make_false; end
504
+ def make_true; end
505
+ def ns_initialize(initial); end
506
+ def ns_make_value(value); end
507
+ def true?; end
508
+ def value; end
509
+ def value=(value); end
510
+ end
511
+ class Concurrent::AtomicBoolean < Concurrent::MutexAtomicBoolean
512
+ def inspect; end
513
+ def to_s; end
514
+ end
515
+ module Concurrent::Utility::NativeInteger
516
+ def ensure_integer(value); end
517
+ def ensure_integer_and_bounds(value); end
518
+ def ensure_lower_bound(value); end
519
+ def ensure_positive(value); end
520
+ def ensure_positive_and_no_zero(value); end
521
+ def ensure_upper_bound(value); end
522
+ extend Concurrent::Utility::NativeInteger
523
+ end
524
+ class Concurrent::MutexAtomicFixnum < Concurrent::Synchronization::LockableObject
525
+ def compare_and_set(expect, update); end
526
+ def decrement(delta = nil); end
527
+ def down(delta = nil); end
528
+ def increment(delta = nil); end
529
+ def initialize(initial = nil); end
530
+ def ns_initialize(initial); end
531
+ def ns_set(value); end
532
+ def up(delta = nil); end
533
+ def update; end
534
+ def value; end
535
+ def value=(value); end
536
+ end
537
+ class Concurrent::AtomicFixnum < Concurrent::MutexAtomicFixnum
538
+ def inspect; end
539
+ def to_s; end
540
+ end
541
+ class Concurrent::CyclicBarrier < Concurrent::Synchronization::LockableObject
542
+ def broken?; end
543
+ def initialize(parties, &block); end
544
+ def ns_generation_done(generation, status, continue = nil); end
545
+ def ns_initialize(parties, &block); end
546
+ def ns_next_generation; end
547
+ def number_waiting; end
548
+ def parties; end
549
+ def reset; end
550
+ def wait(timeout = nil); end
551
+ end
552
+ class Concurrent::CyclicBarrier::Generation < Struct
553
+ def self.[](*arg0); end
554
+ def self.inspect; end
555
+ def self.members; end
556
+ def self.new(*arg0); end
557
+ def status; end
558
+ def status=(_); end
559
+ end
560
+ class Concurrent::MutexCountDownLatch < Concurrent::Synchronization::LockableObject
561
+ def count; end
562
+ def count_down; end
563
+ def initialize(count = nil); end
564
+ def ns_initialize(count); end
565
+ def wait(timeout = nil); end
566
+ end
567
+ class Concurrent::CountDownLatch < Concurrent::MutexCountDownLatch
568
+ end
569
+ class Concurrent::ReadWriteLock < Concurrent::Synchronization::Object
570
+ def acquire_read_lock; end
571
+ def acquire_write_lock; end
572
+ def has_waiters?; end
573
+ def initialize; end
574
+ def max_readers?(c = nil); end
575
+ def max_writers?(c = nil); end
576
+ def release_read_lock; end
577
+ def release_write_lock; end
578
+ def running_readers(c = nil); end
579
+ def running_readers?(c = nil); end
580
+ def running_writer?(c = nil); end
581
+ def self.new(*args, &block); end
582
+ def waiting_writer?(c = nil); end
583
+ def waiting_writers(c = nil); end
584
+ def with_read_lock; end
585
+ def with_write_lock; end
586
+ def write_locked?; end
587
+ end
588
+ class Concurrent::AbstractThreadLocalVar
589
+ def allocate_storage; end
590
+ def bind(value, &block); end
591
+ def default; end
592
+ def initialize(default = nil, &default_block); end
593
+ def value; end
594
+ def value=(value); end
595
+ end
596
+ class Concurrent::RubyThreadLocalVar < Concurrent::AbstractThreadLocalVar
597
+ def allocate_storage; end
598
+ def default_for(thread); end
599
+ def get_threadlocal_array(thread = nil); end
600
+ def self.thread_finalizer(array); end
601
+ def self.threadlocal_finalizer(index); end
602
+ def set_threadlocal_array(array, thread = nil); end
603
+ def value; end
604
+ def value=(value); end
605
+ def value_for(thread); end
606
+ end
607
+ class Concurrent::ThreadLocalVar < Concurrent::RubyThreadLocalVar
608
+ end
609
+ class Concurrent::ReentrantReadWriteLock < Concurrent::Synchronization::Object
610
+ def acquire_read_lock; end
611
+ def acquire_write_lock; end
612
+ def initialize; end
613
+ def max_readers?(c = nil); end
614
+ def max_writers?(c = nil); end
615
+ def release_read_lock; end
616
+ def release_write_lock; end
617
+ def running_readers(c = nil); end
618
+ def running_readers?(c = nil); end
619
+ def running_writer?(c = nil); end
620
+ def self.new(*args, &block); end
621
+ def try_read_lock; end
622
+ def try_write_lock; end
623
+ def waiting_or_running_writer?(c = nil); end
624
+ def waiting_writers(c = nil); end
625
+ def with_read_lock; end
626
+ def with_write_lock; end
627
+ end
628
+ class Concurrent::MutexSemaphore < Concurrent::Synchronization::LockableObject
629
+ def acquire(permits = nil); end
630
+ def available_permits; end
631
+ def drain_permits; end
632
+ def initialize(count); end
633
+ def ns_initialize(count); end
634
+ def reduce_permits(reduction); end
635
+ def release(permits = nil); end
636
+ def try_acquire(permits = nil, timeout = nil); end
637
+ def try_acquire_now(permits); end
638
+ def try_acquire_timed(permits, timeout); end
639
+ end
640
+ class Concurrent::Semaphore < Concurrent::MutexSemaphore
641
+ end
642
+ class Concurrent::FixedThreadPool < Concurrent::ThreadPoolExecutor
643
+ def initialize(num_threads, opts = nil); end
644
+ end
645
+ class Concurrent::SimpleExecutorService < Concurrent::RubyExecutorService
646
+ def <<(task); end
647
+ def kill; end
648
+ def ns_initialize; end
649
+ def post(*args, &task); end
650
+ def running?; end
651
+ def self.<<(task); end
652
+ def self.post(*args); end
653
+ def shutdown; end
654
+ def shutdown?; end
655
+ def shuttingdown?; end
656
+ def wait_for_termination(timeout = nil); end
657
+ end
658
+ class Concurrent::IndirectImmediateExecutor < Concurrent::ImmediateExecutor
659
+ def initialize; end
660
+ def post(*args, &task); end
661
+ end
662
+ class Concurrent::RubySingleThreadExecutor < Concurrent::RubyThreadPoolExecutor
663
+ def initialize(opts = nil); end
664
+ end
665
+ class Concurrent::SafeTaskExecutor < Concurrent::Synchronization::LockableObject
666
+ def execute(*args); end
667
+ def initialize(task, opts = nil); end
668
+ end
669
+ class Concurrent::SerializedExecution < Concurrent::Synchronization::LockableObject
670
+ def call_job(job); end
671
+ def initialize; end
672
+ def ns_initialize; end
673
+ def post(executor, *args, &task); end
674
+ def posts(posts); end
675
+ def work(job); end
676
+ include Concurrent::Concern::Logging
677
+ end
678
+ class Concurrent::SerializedExecution::Job < Struct
679
+ def args; end
680
+ def args=(_); end
681
+ def block; end
682
+ def block=(_); end
683
+ def call; end
684
+ def executor; end
685
+ def executor=(_); end
686
+ def self.[](*arg0); end
687
+ def self.inspect; end
688
+ def self.members; end
689
+ def self.new(*arg0); end
690
+ end
691
+ class Concurrent::SerializedExecutionDelegator < SimpleDelegator
692
+ def initialize(executor); end
693
+ def post(*args, &task); end
694
+ include Concurrent::SerialExecutorService
695
+ end
696
+ class Concurrent::SingleThreadExecutor < Concurrent::RubySingleThreadExecutor
697
+ end
698
+ class Concurrent::Collection::CopyOnWriteObserverSet < Concurrent::Synchronization::LockableObject
699
+ def add_observer(observer = nil, func = nil, &block); end
700
+ def clear_observers_and_return_old; end
701
+ def count_observers; end
702
+ def delete_observer(observer); end
703
+ def delete_observers; end
704
+ def initialize; end
705
+ def notify_and_delete_observers(*args, &block); end
706
+ def notify_observers(*args, &block); end
707
+ def notify_to(observers, *args); end
708
+ def ns_initialize; end
709
+ def observers; end
710
+ def observers=(new_set); end
711
+ end
712
+ class Concurrent::Collection::CopyOnNotifyObserverSet < Concurrent::Synchronization::LockableObject
713
+ def add_observer(observer = nil, func = nil, &block); end
714
+ def count_observers; end
715
+ def delete_observer(observer); end
716
+ def delete_observers; end
717
+ def duplicate_and_clear_observers; end
718
+ def duplicate_observers; end
719
+ def initialize; end
720
+ def notify_and_delete_observers(*args, &block); end
721
+ def notify_observers(*args, &block); end
722
+ def notify_to(observers, *args); end
723
+ def ns_initialize; end
724
+ end
725
+ module Concurrent::Concern::Observable
726
+ def add_observer(observer = nil, func = nil, &block); end
727
+ def count_observers; end
728
+ def delete_observer(observer); end
729
+ def delete_observers; end
730
+ def observers; end
731
+ def observers=(arg0); end
732
+ def with_observer(observer = nil, func = nil, &block); end
733
+ end
734
+ class Concurrent::IVar < Concurrent::Synchronization::LockableObject
735
+ def add_observer(observer = nil, func = nil, &block); end
736
+ def check_for_block_or_value!(block_given, value); end
737
+ def complete(success, value, reason); end
738
+ def complete_without_notification(success, value, reason); end
739
+ def fail(reason = nil); end
740
+ def initialize(value = nil, opts = nil, &block); end
741
+ def notify_observers(value, reason); end
742
+ def ns_complete_without_notification(success, value, reason); end
743
+ def ns_initialize(value, opts); end
744
+ def safe_execute(task, args = nil); end
745
+ def set(value = nil); end
746
+ def try_set(value = nil, &block); end
747
+ include Concurrent::Concern::Obligation
748
+ include Concurrent::Concern::Observable
749
+ end
750
+ module Concurrent::Options
751
+ def self.executor(executor_identifier); end
752
+ def self.executor_from_options(opts = nil); end
753
+ end
754
+ class Concurrent::ScheduledTask < Concurrent::IVar
755
+ def <=>(other); end
756
+ def cancel; end
757
+ def cancelled?; end
758
+ def execute; end
759
+ def executor; end
760
+ def fail(reason = nil); end
761
+ def initial_delay; end
762
+ def initialize(delay, opts = nil, &task); end
763
+ def ns_reschedule(delay); end
764
+ def ns_schedule(delay); end
765
+ def process_task; end
766
+ def processing?; end
767
+ def reschedule(delay); end
768
+ def reset; end
769
+ def schedule_time; end
770
+ def self.execute(delay, opts = nil, &task); end
771
+ def set(value = nil); end
772
+ def try_set(value = nil, &block); end
773
+ include Comparable
774
+ end
775
+ class Concurrent::Collection::RubyNonConcurrentPriorityQueue
776
+ def <<(item); end
777
+ def clear; end
778
+ def delete(item); end
779
+ def deq; end
780
+ def empty?; end
781
+ def enq(item); end
782
+ def has_priority?(item); end
783
+ def include?(item); end
784
+ def initialize(opts = nil); end
785
+ def length; end
786
+ def ordered?(x, y); end
787
+ def peek; end
788
+ def pop; end
789
+ def push(item); end
790
+ def self.from_list(list, opts = nil); end
791
+ def shift; end
792
+ def sink(k); end
793
+ def size; end
794
+ def swap(x, y); end
795
+ def swim(k); end
796
+ end
797
+ class Concurrent::Collection::NonConcurrentPriorityQueue < Concurrent::Collection::RubyNonConcurrentPriorityQueue
798
+ def <<(item); end
799
+ def deq; end
800
+ def enq(item); end
801
+ def has_priority?(item); end
802
+ def shift; end
803
+ def size; end
804
+ end
805
+ class Concurrent::TimerSet < Concurrent::RubyExecutorService
806
+ def <<(task); end
807
+ def initialize(opts = nil); end
808
+ def kill; end
809
+ def ns_initialize(opts); end
810
+ def ns_post_task(task); end
811
+ def ns_reset_if_forked; end
812
+ def ns_shutdown_execution; end
813
+ def post(delay, *args, &task); end
814
+ def post_task(task); end
815
+ def process_tasks; end
816
+ def remove_task(task); end
817
+ end
818
+ class Concurrent::AtomicMarkableReference < Concurrent::Synchronization::Object
819
+ def __initialize_atomic_fields__; end
820
+ def compare_and_set(expected_val, new_val, expected_mark, new_mark); end
821
+ def compare_and_set_reference(expected, value); end
822
+ def compare_and_swap(expected_val, new_val, expected_mark, new_mark); end
823
+ def get; end
824
+ def immutable_array(*args); end
825
+ def initialize(value = nil, mark = nil); end
826
+ def mark; end
827
+ def marked?; end
828
+ def reference; end
829
+ def reference=(value); end
830
+ def self.new(*args, &block); end
831
+ def set(new_val, new_mark); end
832
+ def swap_reference(value); end
833
+ def try_update!; end
834
+ def try_update; end
835
+ def update; end
836
+ def update_reference(&block); end
837
+ def value; end
838
+ end
839
+ class Concurrent::Agent < Concurrent::Synchronization::LockableObject
840
+ def <<(action); end
841
+ def await; end
842
+ def await_for!(timeout); end
843
+ def await_for(timeout); end
844
+ def deref; end
845
+ def enqueue_action_job(action, args, executor); end
846
+ def enqueue_await_job(latch); end
847
+ def error; end
848
+ def error_mode; end
849
+ def execute_next_job; end
850
+ def failed?; end
851
+ def handle_error(error); end
852
+ def initialize(initial, opts = nil); end
853
+ def ns_enqueue_job(job, index = nil); end
854
+ def ns_find_last_job_for_thread; end
855
+ def ns_initialize(initial, opts); end
856
+ def ns_post_next_job; end
857
+ def ns_validate(value); end
858
+ def post(*args, &action); end
859
+ def reason; end
860
+ def restart(new_value, opts = nil); end
861
+ def self.await(*agents); end
862
+ def self.await_for!(timeout, *agents); end
863
+ def self.await_for(timeout, *agents); end
864
+ def send!(*args, &action); end
865
+ def send(*args, &action); end
866
+ def send_off!(*args, &action); end
867
+ def send_off(*args, &action); end
868
+ def send_via!(executor, *args, &action); end
869
+ def send_via(executor, *args, &action); end
870
+ def stopped?; end
871
+ def value; end
872
+ def wait(timeout = nil); end
873
+ include Concurrent::Concern::Observable
874
+ end
875
+ class Concurrent::Agent::Job < Struct
876
+ def action; end
877
+ def action=(_); end
878
+ def args; end
879
+ def args=(_); end
880
+ def caller; end
881
+ def caller=(_); end
882
+ def executor; end
883
+ def executor=(_); end
884
+ def self.[](*arg0); end
885
+ def self.inspect; end
886
+ def self.members; end
887
+ def self.new(*arg0); end
888
+ end
889
+ class Concurrent::Agent::Error < StandardError
890
+ def initialize(message = nil); end
891
+ end
892
+ class Concurrent::Agent::ValidationError < Concurrent::Agent::Error
893
+ def initialize(message = nil); end
894
+ end
895
+ class Concurrent::Atom < Concurrent::Synchronization::Object
896
+ def __initialize_atomic_fields__; end
897
+ def compare_and_set(old_value, new_value); end
898
+ def compare_and_set_value(expected, value); end
899
+ def deref; end
900
+ def initialize(value, opts = nil); end
901
+ def reset(new_value); end
902
+ def self.new(*args, &block); end
903
+ def swap(*args); end
904
+ def swap_value(value); end
905
+ def update_value(&block); end
906
+ def valid?(new_value); end
907
+ def value; end
908
+ def value=(value); end
909
+ include Concurrent::Concern::Observable
910
+ end
911
+ module Concurrent::ThreadSafe
912
+ end
913
+ module Concurrent::ThreadSafe::Util
914
+ end
915
+ class Concurrent::Array < Array
916
+ end
917
+ class Concurrent::Hash < Hash
918
+ end
919
+ class Concurrent::Set < Set
920
+ end
921
+ class Concurrent::Tuple
922
+ def cas(i, old_value, new_value); end
923
+ def compare_and_set(i, old_value, new_value); end
924
+ def each; end
925
+ def get(i); end
926
+ def initialize(size); end
927
+ def set(i, value); end
928
+ def size; end
929
+ def volatile_get(i); end
930
+ def volatile_set(i, value); end
931
+ include Enumerable
932
+ end
933
+ module Concurrent::Async
934
+ def async; end
935
+ def await; end
936
+ def call; end
937
+ def cast; end
938
+ def init_synchronization; end
939
+ def self.included(base); end
940
+ def self.validate_argc(obj, method, *args); end
941
+ end
942
+ module Concurrent::Async::ClassMethods
943
+ def new(*args, &block); end
944
+ end
945
+ class Concurrent::Async::AsyncDelegator < Concurrent::Synchronization::LockableObject
946
+ def initialize(delegate); end
947
+ def method_missing(method, *args, &block); end
948
+ def perform; end
949
+ def respond_to_missing?(method, include_private = nil); end
950
+ end
951
+ class Concurrent::Async::AwaitDelegator
952
+ def initialize(delegate); end
953
+ def method_missing(method, *args, &block); end
954
+ def respond_to_missing?(method, include_private = nil); end
955
+ end
956
+ class Concurrent::Future < Concurrent::IVar
957
+ def cancel; end
958
+ def cancelled?; end
959
+ def execute; end
960
+ def initialize(opts = nil, &block); end
961
+ def ns_initialize(value, opts); end
962
+ def self.execute(opts = nil, &block); end
963
+ def set(value = nil, &block); end
964
+ def wait_or_cancel(timeout); end
965
+ end
966
+ class Concurrent::DependencyCounter
967
+ def initialize(count, &block); end
968
+ def update(time, value, reason); end
969
+ end
970
+ class Concurrent::Maybe < Concurrent::Synchronization::Object
971
+ def <=>(other); end
972
+ def fulfilled?; end
973
+ def initialize(just, nothing); end
974
+ def just; end
975
+ def just?; end
976
+ def nothing; end
977
+ def nothing?; end
978
+ def or(other); end
979
+ def reason; end
980
+ def rejected?; end
981
+ def self.from(*args); end
982
+ def self.just(value); end
983
+ def self.new(*args, &block); end
984
+ def self.nothing(error = nil); end
985
+ def value; end
986
+ include Comparable
987
+ end
988
+ class Concurrent::AbstractExchanger < Concurrent::Synchronization::Object
989
+ def do_exchange(value, timeout); end
990
+ def exchange!(value, timeout = nil); end
991
+ def exchange(value, timeout = nil); end
992
+ def initialize; end
993
+ def try_exchange(value, timeout = nil); end
994
+ end
995
+ class Concurrent::RubyExchanger < Concurrent::AbstractExchanger
996
+ def __initialize_atomic_fields__; end
997
+ def compare_and_set_slot(expected, value); end
998
+ def do_exchange(value, timeout); end
999
+ def initialize; end
1000
+ def self.new(*args, &block); end
1001
+ def slot; end
1002
+ def slot=(value); end
1003
+ def swap_slot(value); end
1004
+ def update_slot(&block); end
1005
+ end
1006
+ class Concurrent::RubyExchanger::Node < Concurrent::Synchronization::Object
1007
+ def __initialize_atomic_fields__; end
1008
+ def compare_and_set_value(expected, value); end
1009
+ def initialize(item); end
1010
+ def item; end
1011
+ def latch; end
1012
+ def self.new(*args, &block); end
1013
+ def swap_value(value); end
1014
+ def update_value(&block); end
1015
+ def value; end
1016
+ def value=(value); end
1017
+ end
1018
+ class Concurrent::Exchanger < Concurrent::RubyExchanger
1019
+ end
1020
+ module Concurrent::Synchronization::AbstractStruct
1021
+ def initialize(*values); end
1022
+ def length; end
1023
+ def members; end
1024
+ def ns_each; end
1025
+ def ns_each_pair; end
1026
+ def ns_equality(other); end
1027
+ def ns_get(member); end
1028
+ def ns_inspect; end
1029
+ def ns_merge(other, &block); end
1030
+ def ns_select; end
1031
+ def ns_to_h; end
1032
+ def ns_values; end
1033
+ def ns_values_at(indexes); end
1034
+ def pr_underscore(clazz); end
1035
+ def self.define_struct_class(parent, base, name, members, &block); end
1036
+ def size; end
1037
+ end
1038
+ module Concurrent::ImmutableStruct
1039
+ def ==(other); end
1040
+ def [](member); end
1041
+ def each(&block); end
1042
+ def each_pair(&block); end
1043
+ def inspect; end
1044
+ def merge(other, &block); end
1045
+ def select(&block); end
1046
+ def self.included(base); end
1047
+ def self.new(*args, &block); end
1048
+ def to_a; end
1049
+ def to_h; end
1050
+ def to_s; end
1051
+ def values; end
1052
+ def values_at(*indexes); end
1053
+ include Concurrent::Synchronization::AbstractStruct
1054
+ end
1055
+ module Concurrent::MutableStruct
1056
+ def ==(other); end
1057
+ def [](member); end
1058
+ def []=(member, value); end
1059
+ def each(&block); end
1060
+ def each_pair(&block); end
1061
+ def inspect; end
1062
+ def merge(other, &block); end
1063
+ def select(&block); end
1064
+ def self.new(*args, &block); end
1065
+ def to_a; end
1066
+ def to_h; end
1067
+ def to_s; end
1068
+ def values; end
1069
+ def values_at(*indexes); end
1070
+ include Concurrent::Synchronization::AbstractStruct
1071
+ end
1072
+ class Concurrent::MVar < Concurrent::Synchronization::Object
1073
+ def borrow(timeout = nil); end
1074
+ def empty?; end
1075
+ def full?; end
1076
+ def initialize(value = nil, opts = nil); end
1077
+ def modify!; end
1078
+ def modify(timeout = nil); end
1079
+ def put(value, timeout = nil); end
1080
+ def self.new(*args, &block); end
1081
+ def set!(value); end
1082
+ def synchronize(&block); end
1083
+ def take(timeout = nil); end
1084
+ def try_put!(value); end
1085
+ def try_take!; end
1086
+ def unlocked_empty?; end
1087
+ def unlocked_full?; end
1088
+ def wait_for_empty(timeout); end
1089
+ def wait_for_full(timeout); end
1090
+ def wait_while(condition, timeout); end
1091
+ include Concurrent::Concern::Dereferenceable
1092
+ end
1093
+ class Concurrent::PromiseExecutionError < StandardError
1094
+ end
1095
+ class Concurrent::Promise < Concurrent::IVar
1096
+ def catch(&block); end
1097
+ def complete(success, value, reason); end
1098
+ def execute; end
1099
+ def fail(reason = nil); end
1100
+ def flat_map(&block); end
1101
+ def initialize(opts = nil, &block); end
1102
+ def notify_child(child); end
1103
+ def ns_initialize(value, opts); end
1104
+ def on_error(&block); end
1105
+ def on_fulfill(result); end
1106
+ def on_reject(reason); end
1107
+ def on_success(&block); end
1108
+ def realize(task); end
1109
+ def rescue(&block); end
1110
+ def root?; end
1111
+ def self.aggregate(method, *promises); end
1112
+ def self.all?(*promises); end
1113
+ def self.any?(*promises); end
1114
+ def self.execute(opts = nil, &block); end
1115
+ def self.fulfill(value, opts = nil); end
1116
+ def self.reject(reason, opts = nil); end
1117
+ def self.zip(*promises); end
1118
+ def set(value = nil, &block); end
1119
+ def set_pending; end
1120
+ def set_state!(success, value, reason); end
1121
+ def synchronized_set_state!(success, value, reason); end
1122
+ def then(*args, &block); end
1123
+ def zip(*others); end
1124
+ end
1125
+ module Concurrent::SettableStruct
1126
+ def ==(other); end
1127
+ def [](member); end
1128
+ def []=(member, value); end
1129
+ def each(&block); end
1130
+ def each_pair(&block); end
1131
+ def inspect; end
1132
+ def merge(other, &block); end
1133
+ def select(&block); end
1134
+ def self.new(*args, &block); end
1135
+ def to_a; end
1136
+ def to_h; end
1137
+ def to_s; end
1138
+ def values; end
1139
+ def values_at(*indexes); end
1140
+ include Concurrent::Synchronization::AbstractStruct
1141
+ end
1142
+ class Concurrent::TimerTask < Concurrent::RubyExecutorService
1143
+ def <<(task); end
1144
+ def execute; end
1145
+ def execute_task(completion); end
1146
+ def execution_interval; end
1147
+ def execution_interval=(value); end
1148
+ def initialize(opts = nil, &task); end
1149
+ def ns_initialize(opts, &task); end
1150
+ def ns_kill_execution; end
1151
+ def ns_shutdown_execution; end
1152
+ def post(*args, &task); end
1153
+ def running?; end
1154
+ def schedule_next_task(interval = nil); end
1155
+ def self.execute(opts = nil, &task); end
1156
+ def timeout_interval; end
1157
+ def timeout_interval=(value); end
1158
+ def timeout_task(completion); end
1159
+ include Concurrent::Concern::Dereferenceable
1160
+ include Concurrent::Concern::Observable
1161
+ end
1162
+ class Concurrent::TVar < Concurrent::Synchronization::Object
1163
+ def initialize(value); end
1164
+ def self.new(*args, &block); end
1165
+ def unsafe_increment_version; end
1166
+ def unsafe_lock; end
1167
+ def unsafe_value; end
1168
+ def unsafe_value=(value); end
1169
+ def unsafe_version; end
1170
+ def value; end
1171
+ def value=(value); end
1172
+ end
1173
+ class Concurrent::Transaction
1174
+ def abort; end
1175
+ def commit; end
1176
+ def initialize; end
1177
+ def read(tvar); end
1178
+ def self.current; end
1179
+ def self.current=(transaction); end
1180
+ def unlock; end
1181
+ def valid?; end
1182
+ def write(tvar, value); end
1183
+ end
1184
+ class Concurrent::Transaction::ReadLogEntry < Struct
1185
+ def self.[](*arg0); end
1186
+ def self.inspect; end
1187
+ def self.members; end
1188
+ def self.new(*arg0); end
1189
+ def tvar; end
1190
+ def tvar=(_); end
1191
+ def version; end
1192
+ def version=(_); end
1193
+ end
1194
+ class Concurrent::Transaction::AbortError < StandardError
1195
+ end
1196
+ class Concurrent::Transaction::LeaveError < StandardError
1197
+ end
1198
+ class Concurrent::LockFreeStack < Concurrent::Synchronization::Object
1199
+ def __initialize_atomic_fields__; end
1200
+ def clear; end
1201
+ def clear_each(&block); end
1202
+ def clear_if(head); end
1203
+ def compare_and_clear(head); end
1204
+ def compare_and_pop(head); end
1205
+ def compare_and_push(head, value); end
1206
+ def compare_and_set_head(expected, value); end
1207
+ def each(head = nil); end
1208
+ def empty?(head = nil); end
1209
+ def head; end
1210
+ def head=(value); end
1211
+ def initialize(head = nil); end
1212
+ def inspect; end
1213
+ def peek; end
1214
+ def pop; end
1215
+ def push(value); end
1216
+ def replace_if(head, new_head); end
1217
+ def self.new(*args, &block); end
1218
+ def self.of1(value); end
1219
+ def self.of2(value1, value2); end
1220
+ def swap_head(value); end
1221
+ def to_s; end
1222
+ def update_head(&block); end
1223
+ include Enumerable
1224
+ end
1225
+ class Concurrent::LockFreeStack::Node
1226
+ def initialize(value, next_node); end
1227
+ def next_node; end
1228
+ def self.[](*arg0); end
1229
+ def value; end
1230
+ def value=(arg0); end
1231
+ end
1232
+ module Concurrent::ReInclude
1233
+ def extended(base); end
1234
+ def include(*modules); end
1235
+ def included(base); end
1236
+ end
1237
+ module Concurrent::Promises
1238
+ extend Concurrent::Promises::FactoryMethods
1239
+ end
1240
+ module Concurrent::Promises::FactoryMethods
1241
+ def any(*futures_and_or_events); end
1242
+ def any_event(*futures_and_or_events); end
1243
+ def any_event_on(default_executor, *futures_and_or_events); end
1244
+ def any_fulfilled_future(*futures_and_or_events); end
1245
+ def any_fulfilled_future_on(default_executor, *futures_and_or_events); end
1246
+ def any_resolved_future(*futures_and_or_events); end
1247
+ def any_resolved_future_on(default_executor, *futures_and_or_events); end
1248
+ def delay(*args, &task); end
1249
+ def delay_on(default_executor, *args, &task); end
1250
+ def fulfilled_future(value, default_executor = nil); end
1251
+ def future(*args, &task); end
1252
+ def future_on(default_executor, *args, &task); end
1253
+ def make_future(argument = nil, default_executor = nil); end
1254
+ def rejected_future(reason, default_executor = nil); end
1255
+ def resolvable_event; end
1256
+ def resolvable_event_on(default_executor = nil); end
1257
+ def resolvable_future; end
1258
+ def resolvable_future_on(default_executor = nil); end
1259
+ def resolved_event(default_executor = nil); end
1260
+ def resolved_future(fulfilled, value, reason, default_executor = nil); end
1261
+ def schedule(intended_time, *args, &task); end
1262
+ def schedule_on(default_executor, intended_time, *args, &task); end
1263
+ def zip(*futures_and_or_events); end
1264
+ def zip_events(*futures_and_or_events); end
1265
+ def zip_events_on(default_executor, *futures_and_or_events); end
1266
+ def zip_futures(*futures_and_or_events); end
1267
+ def zip_futures_on(default_executor, *futures_and_or_events); end
1268
+ extend Concurrent::Promises::FactoryMethods
1269
+ extend Concurrent::Promises::FactoryMethods::Configuration
1270
+ extend Concurrent::ReInclude
1271
+ include Concurrent::Promises::FactoryMethods::Configuration
1272
+ end
1273
+ module Concurrent::Promises::FactoryMethods::Configuration
1274
+ def default_executor; end
1275
+ end
1276
+ module Concurrent::Promises::InternalStates
1277
+ end
1278
+ class Concurrent::Promises::InternalStates::State
1279
+ def resolved?; end
1280
+ def to_sym; end
1281
+ end
1282
+ class Concurrent::Promises::InternalStates::Pending < Concurrent::Promises::InternalStates::State
1283
+ def resolved?; end
1284
+ def to_sym; end
1285
+ end
1286
+ class Concurrent::Promises::InternalStates::Reserved < Concurrent::Promises::InternalStates::Pending
1287
+ end
1288
+ class Concurrent::Promises::InternalStates::ResolvedWithResult < Concurrent::Promises::InternalStates::State
1289
+ def apply; end
1290
+ def fulfilled?; end
1291
+ def reason; end
1292
+ def resolved?; end
1293
+ def result; end
1294
+ def to_sym; end
1295
+ def value; end
1296
+ end
1297
+ class Concurrent::Promises::InternalStates::Fulfilled < Concurrent::Promises::InternalStates::ResolvedWithResult
1298
+ def apply(args, block); end
1299
+ def fulfilled?; end
1300
+ def initialize(value); end
1301
+ def reason; end
1302
+ def to_sym; end
1303
+ def value; end
1304
+ end
1305
+ class Concurrent::Promises::InternalStates::FulfilledArray < Concurrent::Promises::InternalStates::Fulfilled
1306
+ def apply(args, block); end
1307
+ end
1308
+ class Concurrent::Promises::InternalStates::Rejected < Concurrent::Promises::InternalStates::ResolvedWithResult
1309
+ def apply(args, block); end
1310
+ def fulfilled?; end
1311
+ def initialize(reason); end
1312
+ def reason; end
1313
+ def to_sym; end
1314
+ def value; end
1315
+ end
1316
+ class Concurrent::Promises::InternalStates::PartiallyRejected < Concurrent::Promises::InternalStates::ResolvedWithResult
1317
+ def apply(args, block); end
1318
+ def fulfilled?; end
1319
+ def initialize(value, reason); end
1320
+ def reason; end
1321
+ def to_sym; end
1322
+ def value; end
1323
+ end
1324
+ class Concurrent::Promises::AbstractEventFuture < Concurrent::Synchronization::Object
1325
+ def __initialize_atomic_fields__; end
1326
+ def add_callback(method, *args); end
1327
+ def add_callback_clear_delayed_node(node); end
1328
+ def add_callback_notify_blocked(promise, index); end
1329
+ def async_callback_on_resolution(state, executor, args, callback); end
1330
+ def blocks; end
1331
+ def call_callback(method, state, args); end
1332
+ def call_callbacks(state); end
1333
+ def callback_clear_delayed_node(state, node); end
1334
+ def callback_notify_blocked(state, promise, index); end
1335
+ def callbacks; end
1336
+ def chain(*args, &task); end
1337
+ def chain_on(executor, *args, &task); end
1338
+ def chain_resolvable(resolvable); end
1339
+ def compare_and_set_internal_state(expected, value); end
1340
+ def default_executor; end
1341
+ def initialize(promise, default_executor); end
1342
+ def inspect; end
1343
+ def internal_state; end
1344
+ def internal_state=(value); end
1345
+ def on_resolution!(*args, &callback); end
1346
+ def on_resolution(*args, &callback); end
1347
+ def on_resolution_using(executor, *args, &callback); end
1348
+ def pending?; end
1349
+ def promise; end
1350
+ def resolve_with(state, raise_on_reassign = nil, reserved = nil); end
1351
+ def resolved?; end
1352
+ def self.new(*args, &block); end
1353
+ def state; end
1354
+ def swap_internal_state(value); end
1355
+ def tangle(resolvable); end
1356
+ def to_s; end
1357
+ def touch; end
1358
+ def touched?; end
1359
+ def update_internal_state(&block); end
1360
+ def wait(timeout = nil); end
1361
+ def wait_until_resolved(timeout); end
1362
+ def waiting_threads; end
1363
+ def with_async(executor, *args, &block); end
1364
+ def with_default_executor(executor); end
1365
+ def with_hidden_resolvable; end
1366
+ include Concurrent::Promises::InternalStates
1367
+ end
1368
+ class Concurrent::Promises::Event < Concurrent::Promises::AbstractEventFuture
1369
+ def &(other); end
1370
+ def any(event_or_future); end
1371
+ def callback_on_resolution(state, args, callback); end
1372
+ def delay; end
1373
+ def rejected_resolution(raise_on_reassign, state); end
1374
+ def schedule(intended_time); end
1375
+ def then(*args, &task); end
1376
+ def to_event; end
1377
+ def to_future; end
1378
+ def with_default_executor(executor); end
1379
+ def zip(other); end
1380
+ def |(event_or_future); end
1381
+ end
1382
+ class Concurrent::Promises::Future < Concurrent::Promises::AbstractEventFuture
1383
+ def &(other); end
1384
+ def any(event_or_future); end
1385
+ def apply(args, block); end
1386
+ def async_callback_on_fulfillment(state, executor, args, callback); end
1387
+ def async_callback_on_rejection(state, executor, args, callback); end
1388
+ def callback_on_fulfillment(state, args, callback); end
1389
+ def callback_on_rejection(state, args, callback); end
1390
+ def callback_on_resolution(state, args, callback); end
1391
+ def delay; end
1392
+ def exception(*args); end
1393
+ def flat(level = nil); end
1394
+ def flat_event; end
1395
+ def flat_future(level = nil); end
1396
+ def fulfilled?; end
1397
+ def inspect; end
1398
+ def on_fulfillment!(*args, &callback); end
1399
+ def on_fulfillment(*args, &callback); end
1400
+ def on_fulfillment_using(executor, *args, &callback); end
1401
+ def on_rejection!(*args, &callback); end
1402
+ def on_rejection(*args, &callback); end
1403
+ def on_rejection_using(executor, *args, &callback); end
1404
+ def reason(timeout = nil, timeout_value = nil); end
1405
+ def rejected?; end
1406
+ def rejected_resolution(raise_on_reassign, state); end
1407
+ def rescue(*args, &task); end
1408
+ def rescue_on(executor, *args, &task); end
1409
+ def result(timeout = nil); end
1410
+ def run(run_test = nil); end
1411
+ def run_test(v); end
1412
+ def schedule(intended_time); end
1413
+ def then(*args, &task); end
1414
+ def then_on(executor, *args, &task); end
1415
+ def to_event; end
1416
+ def to_future; end
1417
+ def to_s; end
1418
+ def value!(timeout = nil, timeout_value = nil); end
1419
+ def value(timeout = nil, timeout_value = nil); end
1420
+ def wait!(timeout = nil); end
1421
+ def wait_until_resolved!(timeout = nil); end
1422
+ def with_default_executor(executor); end
1423
+ def zip(other); end
1424
+ def |(event_or_future); end
1425
+ end
1426
+ module Concurrent::Promises::Resolvable
1427
+ include Concurrent::Promises::InternalStates
1428
+ end
1429
+ class Concurrent::Promises::ResolvableEvent < Concurrent::Promises::Event
1430
+ def resolve(raise_on_reassign = nil, reserved = nil); end
1431
+ def wait(timeout = nil, resolve_on_timeout = nil); end
1432
+ def with_hidden_resolvable; end
1433
+ include Concurrent::Promises::Resolvable
1434
+ end
1435
+ class Concurrent::Promises::ResolvableFuture < Concurrent::Promises::Future
1436
+ def evaluate_to!(*args, &block); end
1437
+ def evaluate_to(*args, &block); end
1438
+ def fulfill(value, raise_on_reassign = nil, reserved = nil); end
1439
+ def reason(timeout = nil, timeout_value = nil, resolve_on_timeout = nil); end
1440
+ def reject(reason, raise_on_reassign = nil, reserved = nil); end
1441
+ def resolve(fulfilled = nil, value = nil, reason = nil, raise_on_reassign = nil, reserved = nil); end
1442
+ def result(timeout = nil, resolve_on_timeout = nil); end
1443
+ def value!(timeout = nil, timeout_value = nil, resolve_on_timeout = nil); end
1444
+ def value(timeout = nil, timeout_value = nil, resolve_on_timeout = nil); end
1445
+ def wait!(timeout = nil, resolve_on_timeout = nil); end
1446
+ def wait(timeout = nil, resolve_on_timeout = nil); end
1447
+ def with_hidden_resolvable; end
1448
+ include Concurrent::Promises::Resolvable
1449
+ end
1450
+ class Concurrent::Promises::AbstractPromise < Concurrent::Synchronization::Object
1451
+ def default_executor; end
1452
+ def delayed_because; end
1453
+ def evaluate_to(*args, block); end
1454
+ def event; end
1455
+ def future; end
1456
+ def initialize(future); end
1457
+ def inspect; end
1458
+ def resolve_with(new_state, raise_on_reassign = nil); end
1459
+ def self.new(*args, &block); end
1460
+ def state; end
1461
+ def to_s; end
1462
+ def touch; end
1463
+ include Concurrent::Promises::InternalStates
1464
+ end
1465
+ class Concurrent::Promises::ResolvableEventPromise < Concurrent::Promises::AbstractPromise
1466
+ def initialize(default_executor); end
1467
+ end
1468
+ class Concurrent::Promises::ResolvableFuturePromise < Concurrent::Promises::AbstractPromise
1469
+ def evaluate_to(*args, block); end
1470
+ def initialize(default_executor); end
1471
+ end
1472
+ class Concurrent::Promises::InnerPromise < Concurrent::Promises::AbstractPromise
1473
+ end
1474
+ class Concurrent::Promises::BlockedPromise < Concurrent::Promises::InnerPromise
1475
+ def blocked_by; end
1476
+ def clear_and_propagate_touch(stack_or_element = nil); end
1477
+ def delayed_because; end
1478
+ def initialize(delayed, blockers_count, future); end
1479
+ def on_blocker_resolution(future, index); end
1480
+ def on_resolvable(resolved_future, index); end
1481
+ def process_on_blocker_resolution(future, index); end
1482
+ def resolvable?(countdown, future, index); end
1483
+ def self.add_delayed(delayed1, delayed2); end
1484
+ def self.new(*args, &block); end
1485
+ def self.new_blocked_by(blockers, *args, &block); end
1486
+ def self.new_blocked_by1(blocker, *args, &block); end
1487
+ def self.new_blocked_by2(blocker1, blocker2, *args, &block); end
1488
+ def touch; end
1489
+ end
1490
+ class Concurrent::Promises::BlockedTaskPromise < Concurrent::Promises::BlockedPromise
1491
+ def executor; end
1492
+ def initialize(delayed, blockers_count, default_executor, executor, args, &task); end
1493
+ end
1494
+ class Concurrent::Promises::ThenPromise < Concurrent::Promises::BlockedTaskPromise
1495
+ def initialize(delayed, blockers_count, default_executor, executor, args, &task); end
1496
+ def on_resolvable(resolved_future, index); end
1497
+ end
1498
+ class Concurrent::Promises::RescuePromise < Concurrent::Promises::BlockedTaskPromise
1499
+ def initialize(delayed, blockers_count, default_executor, executor, args, &task); end
1500
+ def on_resolvable(resolved_future, index); end
1501
+ end
1502
+ class Concurrent::Promises::ChainPromise < Concurrent::Promises::BlockedTaskPromise
1503
+ def on_resolvable(resolved_future, index); end
1504
+ end
1505
+ class Concurrent::Promises::ImmediateEventPromise < Concurrent::Promises::InnerPromise
1506
+ def initialize(default_executor); end
1507
+ end
1508
+ class Concurrent::Promises::ImmediateFuturePromise < Concurrent::Promises::InnerPromise
1509
+ def initialize(default_executor, fulfilled, value, reason); end
1510
+ end
1511
+ class Concurrent::Promises::AbstractFlatPromise < Concurrent::Promises::BlockedPromise
1512
+ def add_delayed_of(future); end
1513
+ def initialize(delayed_because, blockers_count, event_or_future); end
1514
+ def on_resolvable(resolved_future, index); end
1515
+ def resolvable?(countdown, future, index); end
1516
+ def touch; end
1517
+ def touched?; end
1518
+ end
1519
+ class Concurrent::Promises::FlatEventPromise < Concurrent::Promises::AbstractFlatPromise
1520
+ def initialize(delayed, blockers_count, default_executor); end
1521
+ def process_on_blocker_resolution(future, index); end
1522
+ end
1523
+ class Concurrent::Promises::FlatFuturePromise < Concurrent::Promises::AbstractFlatPromise
1524
+ def initialize(delayed, blockers_count, levels, default_executor); end
1525
+ def process_on_blocker_resolution(future, index); end
1526
+ end
1527
+ class Concurrent::Promises::RunFuturePromise < Concurrent::Promises::AbstractFlatPromise
1528
+ def initialize(delayed, blockers_count, default_executor, run_test); end
1529
+ def process_on_blocker_resolution(future, index); end
1530
+ end
1531
+ class Concurrent::Promises::ZipEventEventPromise < Concurrent::Promises::BlockedPromise
1532
+ def initialize(delayed, blockers_count, default_executor); end
1533
+ def on_resolvable(resolved_future, index); end
1534
+ end
1535
+ class Concurrent::Promises::ZipFutureEventPromise < Concurrent::Promises::BlockedPromise
1536
+ def initialize(delayed, blockers_count, default_executor); end
1537
+ def on_resolvable(resolved_future, index); end
1538
+ def process_on_blocker_resolution(future, index); end
1539
+ end
1540
+ class Concurrent::Promises::EventWrapperPromise < Concurrent::Promises::BlockedPromise
1541
+ def initialize(delayed, blockers_count, default_executor); end
1542
+ def on_resolvable(resolved_future, index); end
1543
+ end
1544
+ class Concurrent::Promises::FutureWrapperPromise < Concurrent::Promises::BlockedPromise
1545
+ def initialize(delayed, blockers_count, default_executor); end
1546
+ def on_resolvable(resolved_future, index); end
1547
+ end
1548
+ class Concurrent::Promises::ZipFuturesPromise < Concurrent::Promises::BlockedPromise
1549
+ def initialize(delayed, blockers_count, default_executor); end
1550
+ def on_resolvable(resolved_future, index); end
1551
+ def process_on_blocker_resolution(future, index); end
1552
+ end
1553
+ class Concurrent::Promises::ZipEventsPromise < Concurrent::Promises::BlockedPromise
1554
+ def initialize(delayed, blockers_count, default_executor); end
1555
+ def on_resolvable(resolved_future, index); end
1556
+ end
1557
+ class Concurrent::Promises::AbstractAnyPromise < Concurrent::Promises::BlockedPromise
1558
+ end
1559
+ class Concurrent::Promises::AnyResolvedEventPromise < Concurrent::Promises::AbstractAnyPromise
1560
+ def initialize(delayed, blockers_count, default_executor); end
1561
+ def on_resolvable(resolved_future, index); end
1562
+ def resolvable?(countdown, future, index); end
1563
+ end
1564
+ class Concurrent::Promises::AnyResolvedFuturePromise < Concurrent::Promises::AbstractAnyPromise
1565
+ def initialize(delayed, blockers_count, default_executor); end
1566
+ def on_resolvable(resolved_future, index); end
1567
+ def resolvable?(countdown, future, index); end
1568
+ end
1569
+ class Concurrent::Promises::AnyFulfilledFuturePromise < Concurrent::Promises::AnyResolvedFuturePromise
1570
+ def resolvable?(countdown, future, index); end
1571
+ end
1572
+ class Concurrent::Promises::DelayPromise < Concurrent::Promises::InnerPromise
1573
+ def delayed_because; end
1574
+ def initialize(default_executor); end
1575
+ def touch; end
1576
+ end
1577
+ class Concurrent::Promises::ScheduledPromise < Concurrent::Promises::InnerPromise
1578
+ def initialize(default_executor, intended_time); end
1579
+ def inspect; end
1580
+ def intended_time; end
1581
+ end
1582
+ class Concurrent::SynchronizedDelegator < SimpleDelegator
1583
+ def initialize(obj); end
1584
+ def method_missing(method, *args, &block); end
1585
+ def setup; end
1586
+ def teardown; end
1587
+ end