checkoff 0.201.0 → 0.203.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +130 -28
  3. data/.git-hooks/pre_commit/solargraph_typecheck.rb +12 -11
  4. data/.overcommit.yml +27 -2
  5. data/.rubocop.yml +20 -2
  6. data/.rubocop_todo.yml +90 -0
  7. data/.solargraph.yml +10 -1
  8. data/DEVELOPMENT.md +1 -1
  9. data/Gemfile +11 -8
  10. data/Gemfile.lock +66 -42
  11. data/LICENSE +1 -1
  12. data/Makefile +14 -12
  13. data/bin/brakeman +27 -0
  14. data/bin/overcommit_branch +117 -0
  15. data/bin/spoom +27 -0
  16. data/bin/srb +27 -0
  17. data/bin/srb-rbi +27 -0
  18. data/bin/tapioca +27 -0
  19. data/config/annotations_misc.rb +35 -0
  20. data/docs/cookiecutter_input.json +1 -0
  21. data/fix.sh +14 -6
  22. data/lib/checkoff/internal/search_url/simple_param_converter.rb +11 -0
  23. data/lib/checkoff/version.rb +1 -1
  24. data/requirements_dev.txt +1 -1
  25. data/sorbet/config +4 -0
  26. data/sorbet/rbi/annotations/.gitattributes +1 -0
  27. data/sorbet/rbi/annotations/activesupport.rbi +453 -0
  28. data/sorbet/rbi/annotations/faraday.rbi +17 -0
  29. data/sorbet/rbi/annotations/minitest.rbi +119 -0
  30. data/sorbet/rbi/annotations/mocha.rbi +34 -0
  31. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  32. data/sorbet/rbi/annotations/webmock.rbi +9 -0
  33. data/sorbet/rbi/dsl/.gitattributes +1 -0
  34. data/sorbet/rbi/dsl/active_support/callbacks.rbi +23 -0
  35. data/sorbet/rbi/gems/.gitattributes +1 -0
  36. data/sorbet/rbi/gems/activesupport@7.1.3.rbi +18749 -0
  37. data/sorbet/rbi/gems/addressable@2.8.6.rbi +1994 -0
  38. data/sorbet/rbi/gems/ansi@1.5.0.rbi +688 -0
  39. data/sorbet/rbi/gems/asana@0.10.6-ab9393136d9ca59b75e42a661fdddc1c65c8f7c3.rbi +6142 -0
  40. data/sorbet/rbi/gems/ast@2.4.2.rbi +585 -0
  41. data/sorbet/rbi/gems/backport@1.2.0.rbi +523 -0
  42. data/sorbet/rbi/gems/base64@0.2.0.rbi +509 -0
  43. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
  44. data/sorbet/rbi/gems/bigdecimal@3.1.5.rbi +78 -0
  45. data/sorbet/rbi/gems/builder@3.2.4.rbi +505 -0
  46. data/sorbet/rbi/gems/bump@0.10.0.rbi +169 -0
  47. data/sorbet/rbi/gems/cache@0.4.1.rbi +211 -0
  48. data/sorbet/rbi/gems/cache_method@0.2.7.rbi +293 -0
  49. data/sorbet/rbi/gems/chef-utils@18.3.0.rbi +9 -0
  50. data/sorbet/rbi/gems/childprocess@5.1.0.rbi +383 -0
  51. data/sorbet/rbi/gems/coderay@1.1.3.rbi +3427 -0
  52. data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +11591 -0
  53. data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +9 -0
  54. data/sorbet/rbi/gems/crack@0.4.5.rbi +145 -0
  55. data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +969 -0
  56. data/sorbet/rbi/gems/docile@1.4.0.rbi +377 -0
  57. data/sorbet/rbi/gems/drb@2.2.0.rbi +1347 -0
  58. data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +9 -0
  59. data/sorbet/rbi/gems/erubi@1.13.0.rbi +152 -0
  60. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +222 -0
  61. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +126 -0
  62. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +136 -0
  63. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +145 -0
  64. data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +259 -0
  65. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +142 -0
  66. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +118 -0
  67. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +125 -0
  68. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +133 -0
  69. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +198 -0
  70. data/sorbet/rbi/gems/faraday@1.10.3.rbi +2729 -0
  71. data/sorbet/rbi/gems/faraday_middleware-multi_json@0.0.6.rbi +29 -0
  72. data/sorbet/rbi/gems/faraday_middleware@1.2.0.rbi +1004 -0
  73. data/sorbet/rbi/gems/gli@2.21.1.rbi +9 -0
  74. data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +351 -0
  75. data/sorbet/rbi/gems/i18n@1.14.1.rbi +2326 -0
  76. data/sorbet/rbi/gems/imagen@0.1.8.rbi +340 -0
  77. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +899 -0
  78. data/sorbet/rbi/gems/jaro_winkler@1.6.0.rbi +22 -0
  79. data/sorbet/rbi/gems/json@2.7.1.rbi +1562 -0
  80. data/sorbet/rbi/gems/jwt@2.7.1.rbi +1405 -0
  81. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +128 -0
  82. data/sorbet/rbi/gems/kramdown@2.4.0.rbi +3272 -0
  83. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14238 -0
  84. data/sorbet/rbi/gems/logger@1.6.1.rbi +920 -0
  85. data/sorbet/rbi/gems/mdl@0.13.0.rbi +445 -0
  86. data/sorbet/rbi/gems/method_source@1.0.0.rbi +273 -0
  87. data/sorbet/rbi/gems/mime-types-data@3.2023.1205.rbi +127 -0
  88. data/sorbet/rbi/gems/mime-types@3.5.1.rbi +1252 -0
  89. data/sorbet/rbi/gems/minitest-profile@0.0.2.rbi +136 -0
  90. data/sorbet/rbi/gems/minitest-reporters@1.6.1.rbi +1014 -0
  91. data/sorbet/rbi/gems/minitest@5.21.1.rbi +1539 -0
  92. data/sorbet/rbi/gems/mixlib-cli@2.1.8.rbi +314 -0
  93. data/sorbet/rbi/gems/mixlib-config@3.0.27.rbi +581 -0
  94. data/sorbet/rbi/gems/mixlib-shellout@3.2.7.rbi +629 -0
  95. data/sorbet/rbi/gems/mocha@2.1.0.rbi +12 -0
  96. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +268 -0
  97. data/sorbet/rbi/gems/multi_xml@0.6.0.rbi +102 -0
  98. data/sorbet/rbi/gems/multipart-post@2.3.0.rbi +234 -0
  99. data/sorbet/rbi/gems/mutex_m@0.2.0.rbi +94 -0
  100. data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
  101. data/sorbet/rbi/gems/nokogiri@1.16.7.rbi +7311 -0
  102. data/sorbet/rbi/gems/oauth2@1.4.11.rbi +833 -0
  103. data/sorbet/rbi/gems/ostruct@0.6.1.rbi +354 -0
  104. data/sorbet/rbi/gems/overcommit@0.64.0.rbi +2400 -0
  105. data/sorbet/rbi/gems/parallel@1.23.0.rbi +274 -0
  106. data/sorbet/rbi/gems/parser@3.2.2.4.rbi +7253 -0
  107. data/sorbet/rbi/gems/prism@1.2.0.rbi +39085 -0
  108. data/sorbet/rbi/gems/pry@0.14.2.rbi +10070 -0
  109. data/sorbet/rbi/gems/public_suffix@5.0.4.rbi +936 -0
  110. data/sorbet/rbi/gems/punchlist@1.3.2.rbi +173 -0
  111. data/sorbet/rbi/gems/racc@1.7.3.rbi +162 -0
  112. data/sorbet/rbi/gems/rack@3.0.8.rbi +5184 -0
  113. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
  114. data/sorbet/rbi/gems/rake@13.1.0.rbi +3022 -0
  115. data/sorbet/rbi/gems/rbi@0.2.1.rbi +4535 -0
  116. data/sorbet/rbi/gems/rbs@2.8.4.rbi +5613 -0
  117. data/sorbet/rbi/gems/regexp_parser@2.8.3.rbi +3750 -0
  118. data/sorbet/rbi/gems/reverse_markdown@2.1.1.rbi +390 -0
  119. data/sorbet/rbi/gems/rexml@3.2.6.rbi +4888 -0
  120. data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +7061 -0
  121. data/sorbet/rbi/gems/rubocop-minitest@0.34.5.rbi +2577 -0
  122. data/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi +3262 -0
  123. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +329 -0
  124. data/sorbet/rbi/gems/rubocop@1.59.0.rbi +57238 -0
  125. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
  126. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
  127. data/sorbet/rbi/gems/rugged@1.6.3.rbi +1577 -0
  128. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +217 -0
  129. data/sorbet/rbi/gems/simplecov-lcov@0.8.0.rbi +256 -0
  130. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2149 -0
  131. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +9 -0
  132. data/sorbet/rbi/gems/solargraph@0.50.1-904b9304770a59fac393c5cc3cad481e5bdf0fd8.rbi +9396 -0
  133. data/sorbet/rbi/gems/source_finder@3.2.1.rbi +317 -0
  134. data/sorbet/rbi/gems/spoom@1.5.0.rbi +4932 -0
  135. data/sorbet/rbi/gems/tapioca@0.16.4.rbi +3604 -0
  136. data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
  137. data/sorbet/rbi/gems/tilt@2.4.0.rbi +933 -0
  138. data/sorbet/rbi/gems/tomlrb@2.0.3.rbi +9 -0
  139. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5918 -0
  140. data/sorbet/rbi/gems/undercover@0.5.0.rbi +433 -0
  141. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +66 -0
  142. data/sorbet/rbi/gems/webmock@3.19.1.rbi +1769 -0
  143. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
  144. data/sorbet/rbi/gems/yard@0.9.34.rbi +18247 -0
  145. data/sorbet/rbi/todo.rbi +11 -0
  146. data/sorbet/tapioca/config.yml +13 -0
  147. data/sorbet/tapioca/require.rb +4 -0
  148. metadata +134 -3
@@ -0,0 +1,354 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `ostruct` gem.
5
+ # Please instead update this file by running `bin/tapioca gem ostruct`.
6
+
7
+
8
+ # An OpenStruct is a data structure, similar to a Hash, that allows the
9
+ # definition of arbitrary attributes with their accompanying values. This is
10
+ # accomplished by using Ruby's metaprogramming to define methods on the class
11
+ # itself.
12
+ #
13
+ # == Examples
14
+ #
15
+ # require "ostruct"
16
+ #
17
+ # person = OpenStruct.new
18
+ # person.name = "John Smith"
19
+ # person.age = 70
20
+ #
21
+ # person.name # => "John Smith"
22
+ # person.age # => 70
23
+ # person.address # => nil
24
+ #
25
+ # An OpenStruct employs a Hash internally to store the attributes and values
26
+ # and can even be initialized with one:
27
+ #
28
+ # australia = OpenStruct.new(:country => "Australia", :capital => "Canberra")
29
+ # # => #<OpenStruct country="Australia", capital="Canberra">
30
+ #
31
+ # Hash keys with spaces or characters that could normally not be used for
32
+ # method calls (e.g. <code>()[]*</code>) will not be immediately available
33
+ # on the OpenStruct object as a method for retrieval or assignment, but can
34
+ # still be reached through the Object#send method or using [].
35
+ #
36
+ # measurements = OpenStruct.new("length (in inches)" => 24)
37
+ # measurements[:"length (in inches)"] # => 24
38
+ # measurements.send("length (in inches)") # => 24
39
+ #
40
+ # message = OpenStruct.new(:queued? => true)
41
+ # message.queued? # => true
42
+ # message.send("queued?=", false)
43
+ # message.queued? # => false
44
+ #
45
+ # Removing the presence of an attribute requires the execution of the
46
+ # delete_field method as setting the property value to +nil+ will not
47
+ # remove the attribute.
48
+ #
49
+ # first_pet = OpenStruct.new(:name => "Rowdy", :owner => "John Smith")
50
+ # second_pet = OpenStruct.new(:name => "Rowdy")
51
+ #
52
+ # first_pet.owner = nil
53
+ # first_pet # => #<OpenStruct name="Rowdy", owner=nil>
54
+ # first_pet == second_pet # => false
55
+ #
56
+ # first_pet.delete_field(:owner)
57
+ # first_pet # => #<OpenStruct name="Rowdy">
58
+ # first_pet == second_pet # => true
59
+ #
60
+ # Ractor compatibility: A frozen OpenStruct with shareable values is itself shareable.
61
+ #
62
+ # == Caveats
63
+ #
64
+ # An OpenStruct utilizes Ruby's method lookup structure to find and define the
65
+ # necessary methods for properties. This is accomplished through the methods
66
+ # method_missing and define_singleton_method.
67
+ #
68
+ # This should be a consideration if there is a concern about the performance of
69
+ # the objects that are created, as there is much more overhead in the setting
70
+ # of these properties compared to using a Hash or a Struct.
71
+ # Creating an open struct from a small Hash and accessing a few of the
72
+ # entries can be 200 times slower than accessing the hash directly.
73
+ #
74
+ # This is a potential security issue; building OpenStruct from untrusted user data
75
+ # (e.g. JSON web request) may be susceptible to a "symbol denial of service" attack
76
+ # since the keys create methods and names of methods are never garbage collected.
77
+ #
78
+ # This may also be the source of incompatibilities between Ruby versions:
79
+ #
80
+ # o = OpenStruct.new
81
+ # o.then # => nil in Ruby < 2.6, enumerator for Ruby >= 2.6
82
+ #
83
+ # Builtin methods may be overwritten this way, which may be a source of bugs
84
+ # or security issues:
85
+ #
86
+ # o = OpenStruct.new
87
+ # o.methods # => [:to_h, :marshal_load, :marshal_dump, :each_pair, ...
88
+ # o.methods = [:foo, :bar]
89
+ # o.methods # => [:foo, :bar]
90
+ #
91
+ # To help remedy clashes, OpenStruct uses only protected/private methods ending with <code>!</code>
92
+ # and defines aliases for builtin public methods by adding a <code>!</code>:
93
+ #
94
+ # o = OpenStruct.new(make: 'Bentley', class: :luxury)
95
+ # o.class # => :luxury
96
+ # o.class! # => OpenStruct
97
+ #
98
+ # It is recommended (but not enforced) to not use fields ending in <code>!</code>;
99
+ # Note that a subclass' methods may not be overwritten, nor can OpenStruct's own methods
100
+ # ending with <code>!</code>.
101
+ #
102
+ # For all these reasons, consider not using OpenStruct at all.
103
+ #
104
+ # source://ostruct//lib/ostruct.rb#109
105
+ class OpenStruct
106
+ # Creates a new OpenStruct object. By default, the resulting OpenStruct
107
+ # object will have no attributes.
108
+ #
109
+ # The optional +hash+, if given, will generate attributes and values
110
+ # (can be a Hash, an OpenStruct or a Struct).
111
+ # For example:
112
+ #
113
+ # require "ostruct"
114
+ # hash = { "country" => "Australia", :capital => "Canberra" }
115
+ # data = OpenStruct.new(hash)
116
+ #
117
+ # data # => #<OpenStruct country="Australia", capital="Canberra">
118
+ #
119
+ # @return [OpenStruct] a new instance of OpenStruct
120
+ #
121
+ # source://ostruct//lib/ostruct.rb#134
122
+ def initialize(hash = T.unsafe(nil)); end
123
+
124
+ # Compares this object and +other+ for equality. An OpenStruct is equal to
125
+ # +other+ when +other+ is an OpenStruct and the two objects' Hash tables are
126
+ # equal.
127
+ #
128
+ # require "ostruct"
129
+ # first_pet = OpenStruct.new("name" => "Rowdy")
130
+ # second_pet = OpenStruct.new(:name => "Rowdy")
131
+ # third_pet = OpenStruct.new("name" => "Rowdy", :age => nil)
132
+ #
133
+ # first_pet == second_pet # => true
134
+ # first_pet == third_pet # => false
135
+ #
136
+ # source://ostruct//lib/ostruct.rb#423
137
+ def ==(other); end
138
+
139
+ # :call-seq:
140
+ # ostruct[name] -> object
141
+ #
142
+ # Returns the value of an attribute, or +nil+ if there is no such attribute.
143
+ #
144
+ # require "ostruct"
145
+ # person = OpenStruct.new("name" => "John Smith", "age" => 70)
146
+ # person[:age] # => 70, same as person.age
147
+ #
148
+ # source://ostruct//lib/ostruct.rb#303
149
+ def [](name); end
150
+
151
+ # :call-seq:
152
+ # ostruct[name] = obj -> obj
153
+ #
154
+ # Sets the value of an attribute.
155
+ #
156
+ # require "ostruct"
157
+ # person = OpenStruct.new("name" => "John Smith", "age" => 70)
158
+ # person[:age] = 42 # equivalent to person.age = 42
159
+ # person.age # => 42
160
+ #
161
+ # source://ostruct//lib/ostruct.rb#318
162
+ def []=(name, value); end
163
+
164
+ # Removes the named field from the object and returns the value the field
165
+ # contained if it was defined. You may optionally provide a block.
166
+ # If the field is not defined, the result of the block is returned,
167
+ # or a NameError is raised if no block was given.
168
+ #
169
+ # require "ostruct"
170
+ #
171
+ # person = OpenStruct.new(name: "John", age: 70, pension: 300)
172
+ #
173
+ # person.delete_field!("age") # => 70
174
+ # person # => #<OpenStruct name="John", pension=300>
175
+ #
176
+ # Setting the value to +nil+ will not remove the attribute:
177
+ #
178
+ # person.pension = nil
179
+ # person # => #<OpenStruct name="John", pension=nil>
180
+ #
181
+ # person.delete_field('number') # => NameError
182
+ #
183
+ # person.delete_field('number') { 8675_309 } # => 8675309
184
+ #
185
+ # source://ostruct//lib/ostruct.rb#371
186
+ def delete_field(name, &block); end
187
+
188
+ # source://ostruct//lib/ostruct.rb#371
189
+ def delete_field!(name, &block); end
190
+
191
+ # :call-seq:
192
+ # ostruct.dig(name, *identifiers) -> object
193
+ #
194
+ # Finds and returns the object in nested objects
195
+ # that is specified by +name+ and +identifiers+.
196
+ # The nested objects may be instances of various classes.
197
+ # See {Dig Methods}[rdoc-ref:dig_methods.rdoc].
198
+ #
199
+ # Examples:
200
+ # require "ostruct"
201
+ # address = OpenStruct.new("city" => "Anytown NC", "zip" => 12345)
202
+ # person = OpenStruct.new("name" => "John Smith", "address" => address)
203
+ # person.dig(:address, "zip") # => 12345
204
+ # person.dig(:business_address, "zip") # => nil
205
+ #
206
+ # source://ostruct//lib/ostruct.rb#340
207
+ def dig(name, *names); end
208
+
209
+ # source://ostruct//lib/ostruct.rb#340
210
+ def dig!(name, *names); end
211
+
212
+ # :call-seq:
213
+ # ostruct.each_pair {|name, value| block } -> ostruct
214
+ # ostruct.each_pair -> Enumerator
215
+ #
216
+ # Yields all attributes (as symbols) along with the corresponding values
217
+ # or returns an enumerator if no block is given.
218
+ #
219
+ # require "ostruct"
220
+ # data = OpenStruct.new("country" => "Australia", :capital => "Canberra")
221
+ # data.each_pair.to_a # => [[:country, "Australia"], [:capital, "Canberra"]]
222
+ #
223
+ # source://ostruct//lib/ostruct.rb#211
224
+ def each_pair; end
225
+
226
+ # source://ostruct//lib/ostruct.rb#211
227
+ def each_pair!; end
228
+
229
+ # Provides marshalling support for use by the YAML library.
230
+ #
231
+ # source://ostruct//lib/ostruct.rb#446
232
+ def encode_with(coder); end
233
+
234
+ # source://ostruct//lib/ostruct.rb#446
235
+ def encode_with!(coder); end
236
+
237
+ # Compares this object and +other+ for equality. An OpenStruct is eql? to
238
+ # +other+ when +other+ is an OpenStruct and the two objects' Hash tables are
239
+ # eql?.
240
+ #
241
+ # @return [Boolean]
242
+ #
243
+ # source://ostruct//lib/ostruct.rb#433
244
+ def eql?(other); end
245
+
246
+ # source://ostruct//lib/ostruct.rb#269
247
+ def freeze; end
248
+
249
+ # source://ostruct//lib/ostruct.rb#269
250
+ def freeze!; end
251
+
252
+ # Computes a hash code for this OpenStruct.
253
+ #
254
+ # source://ostruct//lib/ostruct.rb#439
255
+ def hash; end
256
+
257
+ # source://ostruct//lib/ostruct.rb#439
258
+ def hash!; end
259
+
260
+ # Provides marshalling support for use by the YAML library.
261
+ #
262
+ # source://ostruct//lib/ostruct.rb#459
263
+ def init_with(coder); end
264
+
265
+ # source://ostruct//lib/ostruct.rb#459
266
+ def init_with!(coder); end
267
+
268
+ # Returns a string containing a detailed summary of the keys and values.
269
+ #
270
+ # source://ostruct//lib/ostruct.rb#388
271
+ def inspect; end
272
+
273
+ # source://ostruct//lib/ostruct.rb#388
274
+ def inspect!; end
275
+
276
+ # Provides marshalling support for use by the Marshal library.
277
+ #
278
+ # source://ostruct//lib/ostruct.rb#220
279
+ def marshal_dump; end
280
+
281
+ # source://ostruct//lib/ostruct.rb#220
282
+ def marshal_dump!; end
283
+
284
+ # source://ostruct//lib/ostruct.rb#406
285
+ def table; end
286
+
287
+ # source://ostruct//lib/ostruct.rb#182
288
+ def to_h(&block); end
289
+
290
+ # source://ostruct//lib/ostruct.rb#182
291
+ def to_h!(&block); end
292
+
293
+ # Returns a string containing a detailed summary of the keys and values.
294
+ #
295
+ # source://ostruct//lib/ostruct.rb#388
296
+ def to_s; end
297
+
298
+ # source://ostruct//lib/ostruct.rb#388
299
+ def to_s!; end
300
+
301
+ protected
302
+
303
+ # source://ostruct//lib/ostruct.rb#406
304
+ def table!; end
305
+
306
+ private
307
+
308
+ # source://ostruct//lib/ostruct.rb#147
309
+ def initialize_clone(orig); end
310
+
311
+ # source://ostruct//lib/ostruct.rb#152
312
+ def initialize_dup(orig); end
313
+
314
+ # source://ostruct//lib/ostruct.rb#251
315
+ def is_method_protected!(name); end
316
+
317
+ #
318
+ # Provides marshalling support for use by the Marshal library.
319
+ #
320
+ # source://ostruct//lib/ostruct.rb#157
321
+ def marshal_load(hash); end
322
+
323
+ # source://ostruct//lib/ostruct.rb#274
324
+ def method_missing(mid, *args); end
325
+
326
+ # Used internally to defined properties on the
327
+ # OpenStruct. It does this by using the metaprogramming function
328
+ # define_singleton_method for both the getter method and the setter method.
329
+ #
330
+ # source://ostruct//lib/ostruct.rb#234
331
+ def new_ostruct_member!(name); end
332
+
333
+ # :call-seq:
334
+ # ostruct[name] = obj -> obj
335
+ #
336
+ # Sets the value of an attribute.
337
+ #
338
+ # require "ostruct"
339
+ # person = OpenStruct.new("name" => "John Smith", "age" => 70)
340
+ # person[:age] = 42 # equivalent to person.age = 42
341
+ # person.age # => 42
342
+ #
343
+ # source://ostruct//lib/ostruct.rb#318
344
+ def set_ostruct_member_value!(name, value); end
345
+
346
+ # source://ostruct//lib/ostruct.rb#157
347
+ def update_to_values!(hash); end
348
+ end
349
+
350
+ # source://ostruct//lib/ostruct.rb#112
351
+ OpenStruct::HAS_PERFORMANCE_WARNINGS = T.let(T.unsafe(nil), FalseClass)
352
+
353
+ # source://ostruct//lib/ostruct.rb#110
354
+ OpenStruct::VERSION = T.let(T.unsafe(nil), String)