checkoff 0.219.0 → 0.221.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +3 -4
  3. data/.overcommit.yml +2 -0
  4. data/.rubocop.yml +4 -0
  5. data/.rubocop_todo.yml +2 -1
  6. data/Gemfile +1 -0
  7. data/Gemfile.lock +42 -8
  8. data/Makefile +13 -7
  9. data/bin/tapioca +1 -1
  10. data/checkoff.gemspec +1 -0
  11. data/fix.sh +1 -0
  12. data/lib/checkoff/tasks.rb +8 -2
  13. data/lib/checkoff/version.rb +1 -1
  14. data/sorbet/rbi/gems/{activesupport@7.1.3.rbi → activesupport@7.1.5.rbi} +157 -160
  15. data/sorbet/rbi/gems/brakeman@6.2.2.rbi +222 -0
  16. data/sorbet/rbi/gems/{i18n@1.14.1.rbi → i18n@1.14.6.rbi} +135 -102
  17. data/sorbet/rbi/gems/{logger@1.6.1.rbi → logger@1.6.2.rbi} +4 -1
  18. data/sorbet/rbi/gems/{mutex_m@0.2.0.rbi → mutex_m@0.3.0.rbi} +15 -12
  19. data/sorbet/rbi/gems/{nokogiri@1.16.7.rbi → nokogiri@1.17.0.rbi} +1693 -803
  20. data/sorbet/rbi/gems/{racc@1.7.3.rbi → racc@1.8.1.rbi} +33 -33
  21. data/sorbet/rbi/gems/{rack@3.0.8.rbi → rack@3.1.8.rbi} +697 -985
  22. data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.3.9.rbi} +354 -278
  23. data/sorbet/rbi/gems/rubocop-rspec@3.0.0.rbi +7546 -0
  24. data/sorbet/rbi/gems/securerandom@0.4.0.rbi +75 -0
  25. data/sorbet/rbi/gems/solargraph-rails@1.1.0-9dc37915bd4f3b169046e34db6fb32193ab347d8.rbi +320 -0
  26. data/sorbet/rbi/gems/{tapioca@0.16.4.rbi → tapioca@0.16.5.rbi} +89 -76
  27. data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.37.rbi} +429 -270
  28. metadata +33 -16
  29. data/sorbet/rbi/gems/ostruct@0.6.1.rbi +0 -354
  30. /data/sorbet/rbi/gems/{drb@2.2.0.rbi → drb@2.2.1.rbi} +0 -0
  31. /data/sorbet/rbi/gems/{gli@2.21.1.rbi → gli@2.22.0.rbi} +0 -0
  32. /data/sorbet/rbi/gems/{overcommit@0.64.0.rbi → overcommit@0.64.1.rbi} +0 -0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checkoff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.219.0
4
+ version: 0.221.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-12-09 00:00:00.000000000 Z
11
+ date: 2024-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: sorbet-runtime
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
83
97
  description:
84
98
  email:
85
99
  - vince@broz.cc
@@ -234,7 +248,7 @@ files:
234
248
  - sorbet/rbi/dsl/.gitattributes
235
249
  - sorbet/rbi/dsl/active_support/callbacks.rbi
236
250
  - sorbet/rbi/gems/.gitattributes
237
- - sorbet/rbi/gems/activesupport@7.1.3.rbi
251
+ - sorbet/rbi/gems/activesupport@7.1.5.rbi
238
252
  - sorbet/rbi/gems/addressable@2.8.6.rbi
239
253
  - sorbet/rbi/gems/ansi@1.5.0.rbi
240
254
  - sorbet/rbi/gems/asana@0.10.6-ab9393136d9ca59b75e42a661fdddc1c65c8f7c3.rbi
@@ -243,6 +257,7 @@ files:
243
257
  - sorbet/rbi/gems/base64@0.2.0.rbi
244
258
  - sorbet/rbi/gems/benchmark@0.4.0.rbi
245
259
  - sorbet/rbi/gems/bigdecimal@3.1.5.rbi
260
+ - sorbet/rbi/gems/brakeman@6.2.2.rbi
246
261
  - sorbet/rbi/gems/builder@3.2.4.rbi
247
262
  - sorbet/rbi/gems/bump@0.10.0.rbi
248
263
  - sorbet/rbi/gems/cache@0.4.1.rbi
@@ -255,7 +270,7 @@ files:
255
270
  - sorbet/rbi/gems/crack@0.4.5.rbi
256
271
  - sorbet/rbi/gems/diff-lcs@1.5.1.rbi
257
272
  - sorbet/rbi/gems/docile@1.4.0.rbi
258
- - sorbet/rbi/gems/drb@2.2.0.rbi
273
+ - sorbet/rbi/gems/drb@2.2.1.rbi
259
274
  - sorbet/rbi/gems/e2mmap@0.1.0.rbi
260
275
  - sorbet/rbi/gems/erubi@1.13.0.rbi
261
276
  - sorbet/rbi/gems/faraday-em_http@1.0.0.rbi
@@ -271,9 +286,9 @@ files:
271
286
  - sorbet/rbi/gems/faraday@1.10.3.rbi
272
287
  - sorbet/rbi/gems/faraday_middleware-multi_json@0.0.6.rbi
273
288
  - sorbet/rbi/gems/faraday_middleware@1.2.0.rbi
274
- - sorbet/rbi/gems/gli@2.21.1.rbi
289
+ - sorbet/rbi/gems/gli@2.22.0.rbi
275
290
  - sorbet/rbi/gems/hashdiff@1.0.1.rbi
276
- - sorbet/rbi/gems/i18n@1.14.1.rbi
291
+ - sorbet/rbi/gems/i18n@1.14.6.rbi
277
292
  - sorbet/rbi/gems/imagen@0.1.8.rbi
278
293
  - sorbet/rbi/gems/iniparse@1.5.0.rbi
279
294
  - sorbet/rbi/gems/jaro_winkler@1.6.0.rbi
@@ -282,7 +297,7 @@ files:
282
297
  - sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi
283
298
  - sorbet/rbi/gems/kramdown@2.4.0.rbi
284
299
  - sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi
285
- - sorbet/rbi/gems/logger@1.6.1.rbi
300
+ - sorbet/rbi/gems/logger@1.6.2.rbi
286
301
  - sorbet/rbi/gems/mdl@0.13.0.rbi
287
302
  - sorbet/rbi/gems/method_source@1.0.0.rbi
288
303
  - sorbet/rbi/gems/mime-types-data@3.2023.1205.rbi
@@ -297,43 +312,45 @@ files:
297
312
  - sorbet/rbi/gems/multi_json@1.15.0.rbi
298
313
  - sorbet/rbi/gems/multi_xml@0.6.0.rbi
299
314
  - sorbet/rbi/gems/multipart-post@2.3.0.rbi
300
- - sorbet/rbi/gems/mutex_m@0.2.0.rbi
315
+ - sorbet/rbi/gems/mutex_m@0.3.0.rbi
301
316
  - sorbet/rbi/gems/netrc@0.11.0.rbi
302
- - sorbet/rbi/gems/nokogiri@1.16.7.rbi
317
+ - sorbet/rbi/gems/nokogiri@1.17.0.rbi
303
318
  - sorbet/rbi/gems/oauth2@1.4.11.rbi
304
- - sorbet/rbi/gems/ostruct@0.6.1.rbi
305
- - sorbet/rbi/gems/overcommit@0.64.0.rbi
319
+ - sorbet/rbi/gems/overcommit@0.64.1.rbi
306
320
  - sorbet/rbi/gems/parallel@1.23.0.rbi
307
321
  - sorbet/rbi/gems/parser@3.2.2.4.rbi
308
322
  - sorbet/rbi/gems/prism@1.2.0.rbi
309
323
  - sorbet/rbi/gems/pry@0.14.2.rbi
310
324
  - sorbet/rbi/gems/public_suffix@5.0.4.rbi
311
325
  - sorbet/rbi/gems/punchlist@1.3.2.rbi
312
- - sorbet/rbi/gems/racc@1.7.3.rbi
313
- - sorbet/rbi/gems/rack@3.0.8.rbi
326
+ - sorbet/rbi/gems/racc@1.8.1.rbi
327
+ - sorbet/rbi/gems/rack@3.1.8.rbi
314
328
  - sorbet/rbi/gems/rainbow@3.1.1.rbi
315
329
  - sorbet/rbi/gems/rake@13.1.0.rbi
316
330
  - sorbet/rbi/gems/rbi@0.2.1.rbi
317
331
  - sorbet/rbi/gems/rbs@2.8.4.rbi
318
332
  - sorbet/rbi/gems/regexp_parser@2.8.3.rbi
319
333
  - sorbet/rbi/gems/reverse_markdown@2.1.1.rbi
320
- - sorbet/rbi/gems/rexml@3.2.6.rbi
334
+ - sorbet/rbi/gems/rexml@3.3.9.rbi
321
335
  - sorbet/rbi/gems/rubocop-ast@1.30.0.rbi
322
336
  - sorbet/rbi/gems/rubocop-minitest@0.34.5.rbi
323
337
  - sorbet/rbi/gems/rubocop-performance@1.20.2.rbi
324
338
  - sorbet/rbi/gems/rubocop-rake@0.6.0.rbi
339
+ - sorbet/rbi/gems/rubocop-rspec@3.0.0.rbi
325
340
  - sorbet/rbi/gems/rubocop@1.59.0.rbi
326
341
  - sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi
327
342
  - sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi
328
343
  - sorbet/rbi/gems/rugged@1.6.3.rbi
344
+ - sorbet/rbi/gems/securerandom@0.4.0.rbi
329
345
  - sorbet/rbi/gems/simplecov-html@0.12.3.rbi
330
346
  - sorbet/rbi/gems/simplecov-lcov@0.8.0.rbi
331
347
  - sorbet/rbi/gems/simplecov@0.22.0.rbi
332
348
  - sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi
349
+ - sorbet/rbi/gems/solargraph-rails@1.1.0-9dc37915bd4f3b169046e34db6fb32193ab347d8.rbi
333
350
  - sorbet/rbi/gems/solargraph@0.50.1-904b9304770a59fac393c5cc3cad481e5bdf0fd8.rbi
334
351
  - sorbet/rbi/gems/source_finder@3.2.1.rbi
335
352
  - sorbet/rbi/gems/spoom@1.5.0.rbi
336
- - sorbet/rbi/gems/tapioca@0.16.4.rbi
353
+ - sorbet/rbi/gems/tapioca@0.16.5.rbi
337
354
  - sorbet/rbi/gems/thor@1.3.2.rbi
338
355
  - sorbet/rbi/gems/tilt@2.4.0.rbi
339
356
  - sorbet/rbi/gems/tomlrb@2.0.3.rbi
@@ -342,7 +359,7 @@ files:
342
359
  - sorbet/rbi/gems/unicode-display_width@2.5.0.rbi
343
360
  - sorbet/rbi/gems/webmock@3.19.1.rbi
344
361
  - sorbet/rbi/gems/yard-sorbet@0.9.0.rbi
345
- - sorbet/rbi/gems/yard@0.9.34.rbi
362
+ - sorbet/rbi/gems/yard@0.9.37.rbi
346
363
  - sorbet/rbi/todo.rbi
347
364
  - sorbet/tapioca/config.yml
348
365
  - sorbet/tapioca/require.rb
@@ -1,354 +0,0 @@
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)
File without changes
File without changes